Trait path_dedot::ParseDot

source ·
pub trait ParseDot {
    fn parse_dot(&self) -> Result<Cow<'_, Path>>;
    fn parse_dot_from(&self, cwd: &Path) -> Result<Cow<'_, Path>>;
}
Expand description

Let Path and PathBuf have parse_dot method.

Required Methods§

Remove dots in the path and create a new PathBuf instance on demand.

Remove dots in the path and create a new PathBuf instance on demand. It gets the current working directory as the second argument.

Implementations on Foreign Types§

Implementors§