find_agcodex_home

Function find_agcodex_home 

Source
pub fn find_agcodex_home() -> Result<PathBuf>
Expand description

Returns the path to the Codex configuration directory, which can be specified by the CODEX_HOME environment variable. If not set, defaults to ~/.agcodex.

  • If CODEX_HOME is set, the value will be canonicalized and this function will Err if the path does not exist.
  • If CODEX_HOME is not set, this function does not verify that the directory exists.