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

Function reached

__tests__/cpp-template-instantiations.test.ts:76–78  ·  view source on GitHub ↗

The targets the pass linked from `source`, sorted.

(cg: CodeGraph, source: string)

Source from the content-addressed store, hash-verified

74
75/** The targets the pass linked from `source`, sorted. */
76function reached(cg: CodeGraph, source: string): string[] {
77 return templateEdges(cg).filter((e) => e.source === source).map((e) => e.target).sort();
78}
79
80const TXN = lines(
81 'class BaseTxn {',

Callers 2

syncsFunction · 0.70

Calls 2

mapMethod · 0.80
templateEdgesFunction · 0.70

Tested by

no test coverage detected