expand_tilde

Function expand_tilde_path

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

Expands the tilde (~) component of the Path to the home directory.

ยงErrors

Returns: