Function safe_canonicalize

Source
pub fn safe_canonicalize<P: AsRef<Path>>(path: P) -> Result<PathBuf>
Expand description

Safely canonicalize a path, handling cases where the path doesn’t exist