MCPcopy Create free account
hub / github.com/RomanHotsiy/commitgpt / setGlobalConfig

Function setGlobalConfig

config_storage.ts:84–88  ·  view source on GitHub ↗
(key: string, value: unknown)

Source from the content-addressed store, hash-verified

82}
83
84export function setGlobalConfig(key: string, value: unknown) {
85 const config = loadGlobal();
86 config[key] = value;
87 writeJsonFile(GLOBAL_CONFIG_PATH, config);
88}

Callers 1

getApiKeyFunction · 0.85

Calls 2

loadGlobalFunction · 0.85
writeJsonFileFunction · 0.85

Tested by

no test coverage detected