Skip to main content

get_config_dir

Function get_config_dir 

Source
pub fn get_config_dir() -> Result<PathBuf, DirectoryError>
Expand description

Get the config directory for the application.

Follows the XDG Base Directory Specification for linux, and the equivalents on other platforms. See the directories crate for more information.

ยงErrors

This function will return an error if the config directory could not be found.