Module home_dir_impl

Module home_dir_impl 

Source

Functions§

home_dir
Returns the path to the user’s home directory. Use $HOME, fallbacks to libc::getpwuid_r, otherwise None.
home_fallback 🔒
Get the home directory from the passwd entry of the current user using getpwuid_r(3). If it manages, returns an OsString, otherwise returns None.