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

Method has_changes

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

Returns true if there are any changes.

(&self)

Source from the content-addressed store, hash-verified

1127
1128 /// Returns true if there are any changes.
1129 pub fn has_changes(&self) -> bool {
1130 self.total_file_ops() > 0 || self.total_line_ops() > 0 || self.total_token_ops() > 0
1131 }
1132}
1133
1134impl 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