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

Method is_delete

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

Source from the content-addressed store, hash-verified

371 /// Returns `true` if this is a delete operation.
372 #[inline]
373 pub fn is_delete(&self) -> bool {
374 matches!(self, LeafOp::Delete { .. })
375 }
376
377 /// Returns `true` if this is a replace operation.
378 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected