MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / sourceFiles

Function sourceFiles

__tests__/frameworks-integration.test.ts:731–732  ·  view source on GitHub ↗
(edges: typeof alphaIncoming)

Source from the content-addressed store, hash-verified

729 // Sanity: the edges don't cross — alpha's incoming sources don't include
730 // beta's filePath and vice versa.
731 const sourceFiles = (edges: typeof alphaIncoming) =>
732 edges.map((e) => cg.getNode(e.source)?.filePath).filter(Boolean);
733 expect(sourceFiles(alphaIncoming).some((p) => p?.includes('CallerA.kt'))).toBe(true);
734 expect(sourceFiles(betaIncoming).some((p) => p?.includes('CallerB.kt'))).toBe(true);
735 });

Callers 1

Calls 1

getNodeMethod · 0.80

Tested by

no test coverage detected