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

Method has_changes

atomic-repository/src/tracking/mod.rs:331–333  ·  view source on GitHub ↗

Check if any changes were made.

(&self)

Source from the content-addressed store, hash-verified

329
330 /// Check if any changes were made.
331 pub fn has_changes(&self) -> bool {
332 self.total_added() > 0 || self.total_removed() > 0
333 }
334
335 /// Record a skipped path.
336 pub fn skip(&mut self, path: PathBuf, reason: &str) {

Callers

nothing calls this directly

Calls 2

total_removedMethod · 0.80
total_addedMethod · 0.45

Tested by

no test coverage detected