MCPcopy 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
35function loadGlobal() {
36 return JSON.parse(readFileSync(GLOBAL_CONFIG_PATH, "utf-8"));
37}
38
39function loadLocal(): Partial<Config> {
40 if (!existsSync(LOCAL_CONFIG_PATH)) return {};

Callers 2

loadFunction · 0.85
setGlobalConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected