pub trait NormalizePath {
    // Required method
    fn normalize(&self) -> Result<PathBuf>;
}
Expand description

Normalizes path, dereferencing relative references . and .. and converting path separators to current platform separators. (detects platform nativly or via NodeJS if operating in WASM32 environment)

Required Methods§

Implementations on Foreign Types§

source§

impl NormalizePath for PathBuf

source§

impl NormalizePath for Path

Implementors§