Function darkfi::util::path::home_dir

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

Returns the path to the user’s home directory. Use $HOME, fallbacks to libc::getpwuid_r, otherwise None.