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

Method is_not_found

atomic-core/src/crdt/apply/error.rs:444–452  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

442 /// Returns `true` if this is a "not found" error.
443 #[inline]
444 pub fn is_not_found(&self) -> bool {
445 matches!(
446 self,
447 ApplyError::TrunkNotFound { .. }
448 | ApplyError::BranchNotFound { .. }
449 | ApplyError::LeafNotFound { .. }
450 | ApplyError::PathNotFound { .. }
451 )
452 }
453
454 /// Returns `true` if this is an "already exists" error.
455 #[inline]

Callers 2

is_recoverableMethod · 0.45

Calls

no outgoing calls

Tested by 1