Skip to main content

config_file_path

Function config_file_path 

Source
pub fn config_file_path() -> Result<PathBuf, AppError>
Expand description

Absolute path of config.toml.

GAP-SG-98: delegates to crate::paths::config_dir so --config-dir is honoured. This function used to call directories::ProjectDirs directly, which made it a second, independent config-directory resolver that no flag could redirect.

There is no cycle: crate::paths::config_dir consults only the CLI override captured in crate::runtime_config, never a config set key.