Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
84
export
function
setGlobalConfig(key: string, value: unknown) {
85
const
config = loadGlobal();
86
config[key] = value;
87
writeJsonFile(GLOBAL_CONFIG_PATH, config);
88
}
Callers
1
getApiKey
Function · 0.85
Calls
2
loadGlobal
Function · 0.85
writeJsonFile
Function · 0.85
Tested by
no test coverage detected