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

Method is_replace

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

Check if this is a Replace operation.

(&self)

Source from the content-addressed store, hash-verified

164
165 /// Check if this is a Replace operation.
166 pub fn is_replace(&self) -> bool {
167 matches!(self, DiffOp::Replace { .. })
168 }
169
170 /// Check if this operation represents a change (not equal).
171 pub fn is_change(&self) -> bool {

Callers 1

process_modified_fileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected