Function realpath_ext::normpath[][src]

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

“Normalize” the given path.

This is a wrapper around normpath_raw() that allocates a buffer; see that function’s documentation for details.