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

Method is_restore

atomic-core/src/crdt/branch.rs:437–439  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

435 /// Returns `true` if this is a restore operation.
436 #[inline]
437 pub fn is_restore(&self) -> bool {
438 matches!(self, BranchOp::Restore { .. })
439 }
440
441 /// Returns the operation type as a string.
442 pub fn op_type(&self) -> &'static str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected