Skip to main content

get_user_home

Function get_user_home 

Source
pub fn get_user_home() -> Option<PathBuf>
Expand description

Returns the home directory of the current user, or the original user if run via sudo or doas.