Function plain_path::plain[][src]

pub fn plain(path: &Path) -> Result<Cow<'_, Path>, HomeDirNotFound>

Returns the path without special expansion characters.

Currently this only expands ~ to the user’s home directory. Symlinks are not converted.