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

Method is_empty

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

Check if this replacement has any effect.

(&self)

Source from the content-addressed store, hash-verified

344
345 /// Check if this replacement has any effect.
346 pub fn is_empty(&self) -> bool {
347 self.old_len == 0 && self.new_len == 0
348 }
349
350 /// Get the range of lines affected in the old sequence.
351 pub fn old_range(&self) -> Range<usize> {

Callers 7

diffFunction · 0.45
patience_diff_recursiveFunction · 0.45
is_binaryMethod · 0.45
nextMethod · 0.45
diff_with_optionsFunction · 0.45
lines_are_similarFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected