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

Method has_changes

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

Check if this file has any changes.

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Check if this file has any changes.
173 pub fn has_changes(&self) -> bool {
174 self.insertions > 0 || self.deletions > 0
175 }
176
177 /// Check if this file was added.
178 pub fn is_added(&self) -> bool {

Callers

nothing calls this directly

Calls 3

is_emptyMethod · 0.45
iterMethod · 0.45
is_changeMethod · 0.45

Tested by

no test coverage detected