MCPcopy
hub / github.com/di-sukharev/opencommit / getConfig

Function getConfig

out/cli.cjs:68243–68252  ·  view source on GitHub ↗
({
  envPath = defaultEnvPath,
  globalPath = defaultConfigPath
} = {})

Source from the content-addressed store, hash-verified

68241 }
68242 return [_7, v5];
68243 } catch (error) {
68244 return [_7, v5];
68245 }
68246 })
68247 );
68248};
68249var getConfig = ({
68250 envPath = defaultEnvPath,
68251 globalPath = defaultConfigPath
68252} = {}) => {
68253 const envConfig = getEnvConfig(envPath);
68254 const globalConfig = getGlobalConfig(globalPath);
68255 const config8 = mergeConfigs(envConfig, globalConfig);

Callers 12

setConfigFunction · 0.70
cli.cjsFile · 0.70
getEngineFunction · 0.70
prepareCommitMessageHookFunction · 0.70
isFirstRunFunction · 0.70
promptForMissingApiKeyFunction · 0.70
listModelsFunction · 0.70
refreshModelsFunction · 0.70
runMigrationsFunction · 0.70

Calls 4

getEnvConfigFunction · 0.70
getGlobalConfigFunction · 0.70
mergeConfigsFunction · 0.70
cleanUndefinedValuesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…