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

Method is_unchanged

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

Check if the sequences are unchanged (all Equal operations).

(&self)

Source from the content-addressed store, hash-verified

433
434 /// Check if the sequences are unchanged (all Equal operations).
435 pub fn is_unchanged(&self) -> bool {
436 self.ops.iter().all(|op| op.is_equal())
437 }
438
439 /// Get the total number of deleted lines.
440 pub fn deletions(&self) -> usize {

Callers 2

runMethod · 0.45

Calls 3

allMethod · 0.45
iterMethod · 0.45
is_equalMethod · 0.45

Tested by

no test coverage detected