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

Method is_insert

atomic-core/src/record/workflow/crdt/builder/branch.rs:139–141  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

137 /// Returns `true` if this is an insert operation.
138 #[inline]
139 pub fn is_insert(&self) -> bool {
140 matches!(self.operation, BranchOp::Insert { .. })
141 }
142
143 /// Returns `true` if this is a modify operation.
144 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected