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

Function getClaudeConfigFiles

src/hooks/fileSuggestions.ts:445–454  ·  view source on GitHub ↗

* Gets additional files from Claude config directories

(cwd: string)

Source from the content-addressed store, hash-verified

443 * Gets additional files from Claude config directories
444 */
445async function getClaudeConfigFiles(cwd: string): Promise<string[]> {
446 const markdownFileArrays = await Promise.all(
447 CLAUDE_CONFIG_DIRECTORIES.map(subdir =>
448 loadMarkdownFilesForSubdir(subdir, cwd),
449 ),
450 )
451 return markdownFileArrays.flatMap(markdownFiles =>
452 markdownFiles.map(f => f.filePath),
453 )
454}
455
456/**
457 * Gets project files using git ls-files (fast) or ripgrep (fallback)

Callers 1

getPathsForSuggestionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected