Skip to main content

default_config_file_path

Function default_config_file_path 

Source
pub fn default_config_file_path() -> Result<PathBuf, ConfigError>
Expand description

Return the default user configuration file path.

§Returns

The config.json path under the codex-ws config directory.

§Errors

Returns ConfigError::MissingHomeDirectory when the OS does not expose a home directory.