Function expand_tilde
Source pub fn expand_tilde<P: AsRef<Path> + ?Sized>(path: &P) -> Result<Cow<'_, Path>>
Expand description
Expands the tilde (~) component of the given path to the home directory.
ยงErrors
This function propagates errors returned by home_dir.