MCPcopy Create free account
hub / github.com/Noumena-Network/code / getSettingsForSource

Function getSettingsForSource

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

Source from the content-addressed store, hash-verified

392}
393
394export function getSettingsForSource(
395 source: SettingSource,
396): SettingsJson | null {
397 const cached = getCachedSettingsForSource(source)
398 if (cached !== undefined) return cached
399 const result = getSettingsForSourceUncached(source)
400 setCachedSettingsForSource(source, result)
401 return result
402}
403
404function getSettingsForSourceUncached(
405 source: SettingSource,

Callers 15

logManagedSettingsFunction · 0.85
ModelPickerFunction · 0.85
_tempFunction · 0.85
ConfigFunction · 0.85
getHooksSourcesFunction · 0.85
getApiKeyHelperSourcesFunction · 0.85
getAwsCommandsSourcesFunction · 0.85
getGcpCommandsSourcesFunction · 0.85
HooksConfigMenuFunction · 0.85
_temp2Function · 0.85

Calls 3

Tested by

no test coverage detected