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

Method sides_at_path

atomic-repository/src/repository/name_resolution.rs:35–37  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

33
34impl ProjectedNameConflict {
35 pub(super) fn sides_at_path(&self, path: &str) -> Vec<&ProjectedPathClaim> {
36 self.sides.iter().filter(|side| side.path == path).collect()
37 }
38
39 pub(super) fn is_rename_conflict(&self) -> bool {
40 let unique_paths: HashSet<&str> =

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected