(path: &str)
| 341 | } |
| 342 | |
| 343 | fn directory_bucket(path: &str) -> String { |
| 344 | path.splitn(3, '/').take(2).collect::<Vec<_>>().join("/") |
| 345 | } |
| 346 | |
| 347 | fn directory_facets(counts: impl IntoIterator<Item = (String, usize)>) -> Vec<(String, usize)> { |
| 348 | let mut facets: Vec<_> = counts.into_iter().collect(); |
no outgoing calls
no test coverage detected