Function realpath_ext::normpath

source ·
pub fn normpath<P: AsRef<Path>>(path: P) -> Result<PathBuf>
Expand description

“Normalize” the given path.

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