Function plain

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

Returns the path without special expansion characters.

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