Function gix_config::path::interpolate::home_for_user
source · pub fn home_for_user(name: &str) -> Option<PathBuf>
Expand description
Obtain the home directory for the given user name
or return None
if the user wasn’t found
or any other error occurred.
It can be used as home_for_user
parameter in Path::interpolate()
.