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

Method is_delete

atomic-core/src/diff/ops.rs:161–163  ·  view source on GitHub ↗

Check if this is a Delete operation.

(&self)

Source from the content-addressed store, hash-verified

159
160 /// Check if this is a Delete operation.
161 pub fn is_delete(&self) -> bool {
162 matches!(self, DiffOp::Delete { .. })
163 }
164
165 /// Check if this is a Replace operation.
166 pub fn is_replace(&self) -> bool {

Callers 2

process_modified_fileFunction · 0.45

Calls

no outgoing calls

Tested by 1