Function safe_canonicalize
Source pub fn safe_canonicalize(path: &Path) -> Result<PathBuf>
Expand description
Safely canonicalizes a path, handling various edge cases.
§Arguments
path - The path to canonicalize
§Returns
The canonicalized path
§Errors
Returns an error if the path cannot be canonicalized