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()
.