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

Method is_insert

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

Source from the content-addressed store, hash-verified

377 /// Returns `true` if this is an insert operation.
378 #[inline]
379 pub fn is_insert(&self) -> bool {
380 matches!(self, BranchOp::Insert { .. })
381 }
382
383 /// Returns `true` if this is a modify operation.
384 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected