MCPcopy Index your code
hub / github.com/Microck/opencode-studio / saveStudioConfig

Function saveStudioConfig

server/index.js:536–544  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

534}
535
536function saveStudioConfig(config) {
537 try {
538 atomicWriteFileSync(STUDIO_CONFIG_PATH, JSON.stringify(config, null, 2));
539 return true;
540 } catch (err) {
541 console.error('Failed to save studio config:', err);
542 return false;
543 }
544}
545
546const getWslDistributions = () => {
547 try {

Callers 6

index.jsFile · 0.85
restoreFromBackupFunction · 0.85
performGitHubBackupFunction · 0.85
importCurrentAuthToPoolFunction · 0.85
rotateAccountFunction · 0.85

Calls 1

atomicWriteFileSyncFunction · 0.85

Tested by

no test coverage detected