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

Method neighbors

atomic-cli/tests/it/git_snapshot_lifecycle_regression.rs:136–142  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

134 }
135
136 fn neighbors(&self) -> Vec<String> {
137 self.git(&["ls-tree", "-rz", "HEAD"])
138 .split('\0')
139 .filter(|entry| !entry.is_empty() && !entry.ends_with("\ttracked.txt"))
140 .map(str::to_owned)
141 .collect()
142 }
143
144 fn assert_deleted(&self) {
145 self.atomic(&["git", "shim", "verify"]);

Calls 3

collectMethod · 0.45
gitMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected