Skip to main content

user_config_dir

Function user_config_dir 

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

Resolve the Harmont config dir (~/.harmont/).

§Errors

Returns an error if the user’s home directory cannot be determined (the dirs crate’s platform-specific lookup fails — typically only happens in restrictive sandboxes with no HOME / passwd entry).