MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getOtelHeadersHelperSources

Function getOtelHeadersHelperSources

src/components/TrustDialog/utils.ts:117–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 * Returns an array of file paths that have otelHeadersHelper.
116 */
117export function getOtelHeadersHelperSources(): string[] {
118 const sources: string[] = []
119
120 const projectSettings = getSettingsForSource('projectSettings')
121 if (hasOtelHeadersHelper(projectSettings)) {
122 sources.push('.claude/settings.json')
123 }
124
125 const localSettings = getSettingsForSource('localSettings')
126 if (hasOtelHeadersHelper(localSettings)) {
127 sources.push('.claude/settings.local.json')
128 }
129
130 return sources
131}
132
133/**
134 * Check if settings have apiKeyHelper configured

Callers 1

TrustDialogFunction · 0.85

Calls 3

getSettingsForSourceFunction · 0.85
hasOtelHeadersHelperFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected