- Removes trailing slashes - Strips absolute path prefix if it matches repo root - No trailing slash (except for root) - Relative to repository root
(path: &Path)
| 12 | /// - No trailing slash (except for root) |
| 13 | /// - Relative to repository root |
| 14 | pub fn normalize_path(path: &Path) -> String { |
| 15 | normalize_path_with_root(path, None) |
| 16 | } |
| 17 | |
| 18 | /// Normalize a path for storage, optionally stripping a repo root prefix. |
| 19 | /// |
no test coverage detected