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

Method is_insert

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

Source from the content-addressed store, hash-verified

365 /// Returns `true` if this is an insert operation.
366 #[inline]
367 pub fn is_insert(&self) -> bool {
368 matches!(self, LeafOp::Insert { .. })
369 }
370
371 /// Returns `true` if this is a delete operation.
372 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected