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

Method is_modify

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

Returns true if this is a modify operation.

(&self)

Source from the content-addressed store, hash-verified

937
938 /// Returns true if this is a modify operation.
939 pub fn is_modify(&self) -> bool {
940 matches!(self.operation, BranchOp::Modify { .. })
941 }
942
943 /// Returns true if this is a restore operation.
944 pub fn is_restore(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected