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

Method is_restore

atomic-core/src/crdt/leaf.rs:385–387  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

383 /// Returns `true` if this is a restore operation.
384 #[inline]
385 pub fn is_restore(&self) -> bool {
386 matches!(self, LeafOp::Restore { .. })
387 }
388
389 /// Returns the operation type as a string.
390 pub fn op_type(&self) -> &'static str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected