MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / makeRef

Function makeRef

__tests__/batched-ref-cleanup.test.ts:43–53  ·  view source on GitHub ↗
(fromNodeId: string, name: string, line: number)

Source from the content-addressed store, hash-verified

41}
42
43function makeRef(fromNodeId: string, name: string, line: number): UnresolvedReference {
44 return {
45 fromNodeId,
46 referenceName: name,
47 referenceKind: 'calls',
48 line,
49 column: 2,
50 filePath: 'caller.ts',
51 language: 'typescript',
52 };
53}
54
55describe('Batched ref cleanup precision (#1269)', () => {
56 let dir: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected