MCPcopy Index your code
hub / github.com/liuup/claude-code-analysis / getAwsCommandsSources

Function getAwsCommandsSources

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

Source from the content-addressed store, hash-verified

169 * Returns an array of file paths that have awsAuthRefresh or awsCredentialExport.
170 */
171export function getAwsCommandsSources(): string[] {
172 const sources: string[] = []
173
174 const projectSettings = getSettingsForSource('projectSettings')
175 if (hasAwsCommands(projectSettings)) {
176 sources.push('.claude/settings.json')
177 }
178
179 const localSettings = getSettingsForSource('localSettings')
180 if (hasAwsCommands(localSettings)) {
181 sources.push('.claude/settings.local.json')
182 }
183
184 return sources
185}
186
187/**
188 * Check if settings have GCP commands configured

Callers 1

TrustDialogFunction · 0.85

Calls 2

getSettingsForSourceFunction · 0.85
hasAwsCommandsFunction · 0.85

Tested by

no test coverage detected