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

Function refOf

graph-ui/src/pseudocode/pseudocode-builder.ts:575–580  ·  view source on GitHub ↗
(file: string | undefined, line: number | undefined)

Source from the content-addressed store, hash-verified

573}
574
575function refOf(file: string | undefined, line: number | undefined): PseudocodeSourceRef | undefined {
576 if (file === undefined || file.length === 0 || line === undefined) {
577 return undefined;
578 }
579 return { uri: file, line };
580}
581
582/** The symbol's own declaration, in graph line space. The fallback every line can reach. */
583function declarationRefOf(ir: SemanticIR): PseudocodeSourceRef {

Callers 1

linesOfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected