MCPcopy Create free account
hub / github.com/Noumena-Network/code / getClaudeConfigFiles

Function getClaudeConfigFiles

src/hooks/fileSuggestions.ts:506–515  ·  view source on GitHub ↗

* Gets additional files from NCode config directories

(cwd: string)

Source from the content-addressed store, hash-verified

504 * Gets additional files from NCode config directories
505 */
506async function getClaudeConfigFiles(cwd: string): Promise<string[]> {
507 const markdownFileArrays = await Promise.all(
508 NCODE_CONFIG_DIRECTORIES.map(subdir =>
509 loadMarkdownFilesForSubdir(subdir, cwd),
510 ),
511 )
512 return markdownFileArrays.flatMap(markdownFiles =>
513 markdownFiles.map(f => f.filePath),
514 )
515}
516
517/**
518 * 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