Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/different-ai/opencode-browser
/ saveConfig
Function
saveConfig
bin/cli.js:324–327 ·
view source on GitHub ↗
(config)
Source
from the content-addressed store, hash-verified
322
}
323
324
function
saveConfig(config) {
325
ensureDir(BASE_DIR);
326
writeFileSync(CONFIG_DST, JSON.stringify(config, null, 2) +
"\n"
);
327
}
328
329
async
function
main() {
330
const
command = process.argv[2];
Callers
2
install
Function · 0.85
update
Function · 0.85
Calls
1
ensureDir
Function · 0.85
Tested by
no test coverage detected