Skip to main content

get_config_dir

Function get_config_dir 

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

Get the configuration directory path

Returns the directory where config.json should be stored:

  • Linux: ~/.config/opencode-cloud/
  • macOS: ~/.config/opencode-cloud/ (XDG-style, not ~/Library)
  • Windows: %APPDATA%\opencode-cloud\