pub fn safe_canonicalize(path: &Path) -> Result<PathBuf>Expand description
Canonicalize a path and strip the Windows verbatim/extended-length prefix (\\?\)
that std::fs::canonicalize adds on Windows. This prefix breaks many tools and
string-based path comparisons.
On non-Windows platforms this is equivalent to std::fs::canonicalize.