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

Function shouldShowClaudeMdExternalIncludesWarning

src/utils/claudemd.ts:1420–1430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1418}
1419
1420export async function shouldShowClaudeMdExternalIncludesWarning(): Promise<boolean> {
1421 const config = getCurrentProjectConfig()
1422 if (
1423 config.hasClaudeMdExternalIncludesApproved ||
1424 config.hasClaudeMdExternalIncludesWarningShown
1425 ) {
1426 return false
1427 }
1428
1429 return hasExternalClaudeMdIncludes(await getMemoryFiles(true))
1430}
1431
1432/**
1433 * Check if a file path is a memory file (CLAUDE.md, CLAUDE.local.md, or .claude/rules/*.md)

Callers 1

showSetupScreensFunction · 0.85

Calls 2

getCurrentProjectConfigFunction · 0.85

Tested by

no test coverage detected