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

Function entriesFor

graph-ui/src/twin/SelectedCodePanel.tsx:124–126  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

122 if (runtime) sections.push(runtime);
123 if (imports) sections.push(importsSection(imports));
124 const entriesFor = (path: string): Evidence[] =>
125 imports?.entries.find((entry) => entry.factPath === path)?.evidence
126 ?? (ready ? evidenceFor(ir, path) : []);
127 const hasFile = filePath.length > 0;
128 const range = symbol
129 ? `${symbol.range.start.line + 1}-${Math.max(symbol.range.start.line + 1, symbol.range.end.line + (symbol.range.end.character > 0 ? 1 : 0))}`

Callers

nothing calls this directly

Calls 1

evidenceForFunction · 0.90

Tested by

no test coverage detected