Skip to main content

default_config_path

Function default_config_path 

Source
pub fn default_config_path() -> Option<PathBuf>
Expand description

Returns the default configuration file path for the current platform.

Uses the XDG Base Directory specification on Linux/macOS and appropriate platform conventions on other systems via the etcetera crate.

Returns None if the platform’s config directory cannot be determined.