(hash: &str, paths: &[&str])
| 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 |