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

Method is_delete

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

Source from the content-addressed store, hash-verified

429 /// Returns `true` if this is a delete operation.
430 #[inline]
431 pub fn is_delete(&self) -> bool {
432 matches!(self, BranchOp::Delete { .. })
433 }
434
435 /// Returns `true` if this is a restore operation.
436 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected