Skip to main content

discover_config_path

Function discover_config_path 

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

Discover the default XDG config file path.

Returns $XDG_CONFIG_HOME/agent-exec/config.toml if XDG_CONFIG_HOME is set, otherwise returns ~/.config/agent-exec/config.toml.