MCPcopy
hub / github.com/codeaashu/claude-code / getSettingsPaths

Function getSettingsPaths

src/utils/permissions/filesystem.ts:194–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192}
193
194function getSettingsPaths(): string[] {
195 return SETTING_SOURCES.map(source =>
196 getSettingsFilePathForSource(source),
197 ).filter(path => path !== undefined)
198}
199
200export function isClaudeSettingsPath(filePath: string): boolean {
201 // SECURITY: Normalize path structure first to prevent bypass via redundant ./

Callers 1

isClaudeSettingsPathFunction · 0.85

Calls 1

Tested by

no test coverage detected