Skip to main content

home_dir

Function home_dir 

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

Returns the current user’s home directory, resolved natively or via Node.js (os.homedir()), or None if it cannot be determined.