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

Function getConfig

config_storage.ts:79–82  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

77}
78
79export function getConfig<T>(key: string): T {
80 const config = load();
81 return config[key];
82}
83
84export function setGlobalConfig(key: string, value: unknown) {
85 const config = loadGlobal();

Callers 2

getApiKeyFunction · 0.85
getPromptOptionsFunction · 0.85

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected