Function nu_path::canonicalize[][src]

pub fn canonicalize(path: impl AsRef<Path>) -> Result<PathBuf>
Expand description

Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.

Fails under the same conditions as std::fs::canonicalize.