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

Function change_count

atomic-cli/tests/it/remove_recorded_path_test.rs:74–79  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

72}
73
74fn change_count(root: &Path) -> usize {
75 cli(root, &["log", "-f", "oneline"])
76 .lines()
77 .filter(|line| !line.trim().is_empty())
78 .count()
79}
80
81/// The reported wedge: after untracking a recorded path the repository must stay
82/// usable. `status`, `diff`, and `record` all run the name projection that used

Calls 4

cliFunction · 0.70
countMethod · 0.45
linesMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected