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

Function callRef

__tests__/resolution.test.ts:2118–2121  ·  view source on GitHub ↗
(filePath: string, language: Node['language'] = 'cpp')

Source from the content-addressed store, hash-verified

2116 startLine: 1, endLine: 1, startColumn: 0, endColumn: 0, updatedAt: 0,
2117 });
2118 const callRef = (filePath: string, language: Node['language'] = 'cpp'): UnresolvedRef => ({
2119 fromNodeId: 'caller', referenceName: 'lg.log', referenceKind: 'calls',
2120 line: 2, column: 0, filePath, language,
2121 });
2122 const ctxFor = (candidates: Node[]): ResolutionContext => ({
2123 getNodesInFile: () => [],
2124 getNodesByName: (name) => candidates.filter((c) => c.name === name),

Callers 1

resolution.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected