Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RomanHotsiy/commitgpt
/ loadGlobal
Function
loadGlobal
config_storage.ts:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
function
loadGlobal() {
36
return
JSON.parse(readFileSync(GLOBAL_CONFIG_PATH,
"utf-8"
));
37
}
38
39
function
loadLocal(): Partial<Config> {
40
if
(!existsSync(LOCAL_CONFIG_PATH))
return
{};
Callers
2
load
Function · 0.85
setGlobalConfig
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected