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

Function edge

__tests__/sync-python-import-binding-retry.test.ts:431–432  ·  view source on GitHub ↗
(line: number)

Source from the content-addressed store, hash-verified

429 queries.insertNode({ id: 'p', kind: 'variable', name: 'path', qualifiedName: 'path', filePath: 'conf.py',
430 language: 'python', startLine: 1, endLine: 1, startColumn: 0, endColumn: 0, updatedAt: 0 });
431 const edge = (line: number) => ({ source: 'f', target: 'p', kind: 'calls' as const, line, column: 0,
432 metadata: { refName: 'path', resolvedBy: 'exact-match', confidence: 0.7 } });
433 queries.insertEdges([edge(1)]);
434 const beforeRetry = queries.getMaxEdgeId();
435 queries.insertEdges(Array.from({ length: 600 }, (_, i) => edge(i + 2)));

Calls

no outgoing calls

Tested by

no test coverage detected