Skip to main content

set_default_config_value

Function set_default_config_value 

Source
pub fn set_default_config_value(
    name: &str,
    value: PathBuf,
) -> Result<PathBuf, ConfigError>
Expand description

Set a configuration value in the default codex-ws config file.

§Arguments

  • name - Supported configuration key.
  • value - Value to persist.

§Errors

Returns an error when the key is unsupported or the config file cannot be updated.