MCPcopy Index your code
hub / github.com/RomanHotsiy/commitgpt / loadLocal

Function loadLocal

config_storage.ts:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39function loadLocal(): Partial<Config> {
40 if (!existsSync(LOCAL_CONFIG_PATH)) return {};
41 return JSON.parse(readFileSync(LOCAL_CONFIG_PATH, "utf-8"));
42}
43
44let cache = null;
45function load() {

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected