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

Function targets

__tests__/dart-initializer-calls.test.ts:170–175  ·  view source on GitHub ↗
(from: Node, kind: string)

Source from the content-addressed store, hash-verified

168 return found!;
169 };
170 const targets = (from: Node, kind: string): string[] =>
171 [...new Set(graph
172 .getOutgoingEdgesFrom([from.id])
173 .filter((e) => e.kind === kind)
174 .map((e) => graph.getNode(e.target)!.qualifiedName))]
175 .sort();
176 const sources = (to: Node, kind: string): string[] =>
177 [...new Set(graph
178 .getIncomingEdgesTo([to.id], [kind])

Callers 1

Calls 3

mapMethod · 0.80
getNodeMethod · 0.80
getOutgoingEdgesFromMethod · 0.45

Tested by

no test coverage detected