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

Method has_changes

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

Returns true if there are any changes.

(&self)

Source from the content-addressed store, hash-verified

1112
1113 /// Returns true if there are any changes.
1114 pub fn has_changes(&self) -> bool {
1115 self.total_file_ops() > 0 || self.total_line_ops() > 0 || self.total_token_ops() > 0
1116 }
1117}
1118
1119impl 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