expand_home_dir

Function expand_home_dir 

Source
pub(crate) fn expand_home_dir(dir: &str) -> String
Expand description

Expand a leading ~/ or bare ~ to the user’s home directory.