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

Method has_changes

atomic-core/src/change/ops.rs:778–780  ·  view source on GitHub ↗

Returns true if there are any changes.

(&self)

Source from the content-addressed store, hash-verified

776
777 /// Returns true if there are any changes.
778 pub fn has_changes(&self) -> bool {
779 self.total_file_ops() > 0 || self.total_line_ops() > 0 || self.total_token_ops() > 0
780 }
781}
782
783impl fmt::Display for FileOpsStats {

Callers

nothing calls this directly

Calls 3

total_file_opsMethod · 0.45
total_line_opsMethod · 0.45
total_token_opsMethod · 0.45

Tested by

no test coverage detected