MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / quoteFor

Function quoteFor

graph-ui/src/architecture/RepositoryMap.tsx:81–81  ·  view source on GitHub ↗
(files: string[])

Source from the content-addressed store, hash-verified

79 ...primaryAreas.slice(0, 12).flatMap(sourceCandidates)])], [readme, area, primaryAreas]);
80 const guide = useRepositoryGuide(sourcePaths, readSource);
81 const quoteFor = (files: string[]) => sourcePaths.filter(path => files.includes(path)).map(path => guide.quotes[path]).find(Boolean);
82 const areas = primaryAreas.filter(row => !query || row.path.toLowerCase().includes(query)
83 || row.nodes.some(node => node.name.toLowerCase().includes(query)) || quoteFor(row.files)?.text.toLowerCase().includes(query));
84 const scopedNodes = area?.nodes.filter(node => node.file_path === file && !['File', 'Module'].includes(node.label)) ?? [];

Callers 1

RepositoryMapViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected