(path: &str)
| 1 | use std::path::Path; |
| 2 | |
| 3 | pub fn sort_key(path: &str) -> (u8, String) { |
| 4 | let folder = path.ends_with('/'); |
| 5 | ((!folder) as u8, rel_label(path).to_ascii_lowercase()) |
| 6 | } |
| 7 | |
| 8 | pub fn res_browser_sort_key(path: &str) -> String { |
| 9 | let label = rel_label(path).to_ascii_lowercase(); |
nothing calls this directly
no test coverage detected