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

Function sourceOfNeighbour

graph-ui/src/compiler/card-compiler.ts:227–239  ·  view source on GitHub ↗
(entry: NeighbourFact)

Source from the content-addressed store, hash-verified

225}
226
227function sourceOfNeighbour(entry: NeighbourFact): CardSource {
228 const source: CardSource = { name: entry.name };
229 if (entry.qualifiedName !== undefined) {
230 source.qualifiedName = entry.qualifiedName;
231 }
232 if (entry.filePath !== undefined) {
233 source.filePath = entry.filePath;
234 }
235 if (entry.line !== undefined) {
236 source.line = entry.line;
237 }
238 return source;
239}
240
241/** A card without its number yet. The numbering happens after the budget cut. */
242interface Draft {

Callers 1

neighbourDraftsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected