MCPcopy
hub / github.com/claude-code-best/claude-code / getSettingsForSource

Function getSettingsForSource

src/utils/settings/settings.ts:309–317  ·  view source on GitHub ↗
(
  source: SettingSource,
)

Source from the content-addressed store, hash-verified

307}
308
309export function getSettingsForSource(
310 source: SettingSource,
311): SettingsJson | null {
312 const cached = getCachedSettingsForSource(source)
313 if (cached !== undefined) return cached
314 const result = getSettingsForSourceUncached(source)
315 setCachedSettingsForSource(source, result)
316 return result
317}
318
319function getSettingsForSourceUncached(
320 source: SettingSource,

Callers 15

logManagedSettingsFunction · 0.85
handleSelectFunction · 0.85
ConfigFunction · 0.85
getHooksSourcesFunction · 0.85
getApiKeyHelperSourcesFunction · 0.85
getAwsCommandsSourcesFunction · 0.85
getGcpCommandsSourcesFunction · 0.85
HooksConfigMenuFunction · 0.85
executeStatusLineCommandFunction · 0.85

Calls 3

Tested by

no test coverage detected