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

Method has_changes

atomic-core/src/diff/display.rs:287–289  ·  view source on GitHub ↗

Check if there are any changes.

(&self)

Source from the content-addressed store, hash-verified

285
286 /// Check if there are any changes.
287 pub fn has_changes(&self) -> bool {
288 !self.diff_result.is_unchanged()
289 }
290
291 /// Get the number of lines added.
292 pub fn additions(&self) -> usize {

Callers

nothing calls this directly

Calls 1

is_unchangedMethod · 0.45

Tested by

no test coverage detected