Function home_dir

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

Get the preferred Stronghold home directory

Defaults to a sub-directory named .stronghold under the user’s home directory (see dirs_next::home_dir, but can be overridden by the STRONGHOLD environment variable.