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

Method is_insert

atomic-core/src/change/ops.rs:929–931  ·  view source on GitHub ↗

Returns true if this is an insert operation.

(&self)

Source from the content-addressed store, hash-verified

927
928 /// Returns true if this is an insert operation.
929 pub fn is_insert(&self) -> bool {
930 matches!(self.operation, BranchOp::Insert { .. })
931 }
932
933 /// Returns true if this is a delete operation.
934 pub fn is_delete(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected