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

Function cp

atomic-repository/src/triage/report.rs:2177–2182  ·  view source on GitHub ↗
(hash: &str, paths: &[&str])

Source from the content-addressed store, hash-verified

2175 }
2176
2177 fn cp(hash: &str, paths: &[&str]) -> (String, Vec<String>) {
2178 (
2179 hash.to_string(),
2180 paths.iter().map(|s| s.to_string()).collect(),
2181 )
2182 }
2183
2184 /// With no KG at all (no PART_OF, no IMPORTS), files cluster by parent
2185 /// directory, top-level files land in `(root)`, and layers order

Callers

nothing calls this directly

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected