Functions§
- home_
dir - Returns the path to the user’s home directory.
Use
$HOME, fallbacks tolibc::getpwuid_r, otherwiseNone. - home_
fallback 🔒 ⚠ - Get the home directory from the passwd entry of the current user using
getpwuid_r(3). If it manages, returns anOsString, otherwise returnsNone.