Trait PlainPathExt
Source pub trait PlainPathExt {
// Required method
fn plain(&self) -> Result<Cow<'_, Path>, HomeDirNotFound>;
}
Expand description
Provides the plain method to expand ~.
Returns the path without special expansion characters.
If there are no expansion characters, the original path is returned
under the Cow::Borrowed variant, otherwise an owned
PathBuf is returned.