(path: &std::path::Path)
| 1277 | } |
| 1278 | |
| 1279 | fn json_path(path: &std::path::Path) -> String { |
| 1280 | path.to_string_lossy() |
| 1281 | .replace(std::path::MAIN_SEPARATOR, "/") |
| 1282 | } |
| 1283 | |
| 1284 | fn json_status_name(status: FileStatus) -> &'static str { |
| 1285 | match status { |