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

Method is_change

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

Check if this operation represents a change (not equal).

(&self)

Source from the content-addressed store, hash-verified

169
170 /// Check if this operation represents a change (not equal).
171 pub fn is_change(&self) -> bool {
172 !self.is_equal()
173 }
174
175 /// Get the range of lines affected in the old sequence.
176 pub fn old_range(&self) -> Range<usize> {

Callers 1

changesMethod · 0.45

Calls 1

is_equalMethod · 0.45

Tested by

no test coverage detected