pub fn default_config_file(
get: &dyn Fn(&str) -> Option<String>,
user_home: &Path,
) -> PathBufExpand description
The service config’s default location: $OPENCODE_CONFIG_DIR/service.json
(packages/util/src/global.ts:79), else $XDG_CONFIG_HOME/opencode/, else ~/.config/opencode/.