fungus::sys::user
pub fn home_dir() -> Result<PathBuf>
Returns the full path to the current user's home directory.
use fungus::prelude::*; assert!(user::home_dir().is_ok());