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

Method is_delete

atomic-core/src/diff/word.rs:156–158  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

154 /// Check if this is a delete operation.
155 #[inline]
156 pub fn is_delete(&self) -> bool {
157 matches!(self, WordDiffOp::Delete { .. })
158 }
159
160 /// Check if this is a replace operation.
161 #[inline]

Callers 1

Calls

no outgoing calls

Tested by 1