MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_not_found

Method is_not_found

atomic-repository/src/changestore/error.rs:93–95  ·  view source on GitHub ↗

Check if this error indicates the change doesn't exist. This is useful for distinguishing "not found" from other errors when implementing fallback logic.

(&self)

Source from the content-addressed store, hash-verified

91 /// This is useful for distinguishing "not found" from other errors
92 /// when implementing fallback logic.
93 pub fn is_not_found(&self) -> bool {
94 matches!(self, ChangeStoreError::NotFound { .. })
95 }
96
97 /// Check if this error indicates data corruption.
98 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected