Expand description
Configuration management for opencode-cloud
Handles loading, saving, and validating the JSONC configuration file. Creates default config if missing, validates against schema.
Re-exports§
pub use paths::get_config_dir;pub use paths::get_config_path;pub use paths::get_data_dir;pub use paths::get_pid_path;pub use schema::Config;
Modules§
Functions§
- ensure_
config_ dir - Ensure the config directory exists
- ensure_
data_ dir - Ensure the data directory exists
- load_
config - Load configuration from the config file
- save_
config - Save configuration to the config file