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

Method is_change

atomic-repository/src/diff_engine.rs:485–487  ·  view source on GitHub ↗

Check if this line represents a change (added or removed).

(&self)

Source from the content-addressed store, hash-verified

483
484 /// Check if this line represents a change (added or removed).
485 pub fn is_change(&self) -> bool {
486 matches!(self.status, LineStatus::Added | LineStatus::Removed)
487 }
488
489 /// Check if this line was added.
490 pub fn is_added(&self) -> bool {

Callers 2

has_changesMethod · 0.45
is_modifiedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected