pub fn canonicalize<P>(path: P) -> Result<PathBuf, Error>where
    P: AsRef<Path>,
Expand description

Like std::fs::canonicalize(), but on Windows it outputs the most compatible form of a path instead of UNC.