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

Method is_replace

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

Source from the content-addressed store, hash-verified

160 /// Check if this is a replace operation.
161 #[inline]
162 pub fn is_replace(&self) -> bool {
163 matches!(self, WordDiffOp::Replace { .. })
164 }
165
166 /// Check if this is a change (insert, delete, or replace).
167 ///

Callers 1

Calls

no outgoing calls

Tested by 1