(p: &str)
| 25 | |
| 26 | #[cfg(windows)] |
| 27 | pub fn normalize_path(p: &str) -> std::io::Result<String> { |
| 28 | use std::fs; |
| 29 | fs::canonicalize(p).map(|p| p.to_string_lossy().to_string()) |
| 30 | } |
| 31 | |
| 32 | #[cfg(not(windows))] |
| 33 | pub fn normalize_path(p: &str) -> String { |
nothing calls this directly
no outgoing calls
no test coverage detected