Function std::fs::canonicalize [] [src]

pub fn canonicalize<P: AsRef<Path>>(path: P) -> Result<PathBuf>
Unstable

: recently added API

Returns the canonical form of a path with all intermediate components normalized and symbolic links resolved.