pub trait NormalizePath {
    fn normalize(&self) -> Cow<'_, Path>;
}
Expand description

Extension trait to add normalize_path to std’s Path.

Required Methods

Normalize a path without performing I/O.

All redundant separator and up-level references are collapsed.

However, this does not resolve links.

Implementations on Foreign Types

Implementors