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

Function targets

__tests__/dart-comment-split-chains.test.ts:124–129  ·  view source on GitHub ↗
(from: string, kind: string)

Source from the content-addressed store, hash-verified

122 return found!;
123 };
124 const targets = (from: string, kind: string): string[] =>
125 [...new Set(graph
126 .getOutgoingEdgesFrom([node(from).id])
127 .filter((e) => e.kind === kind)
128 .map((e) => graph.getNode(e.target)!.qualifiedName))]
129 .sort();
130
131 // A comment between the member and its arguments: still a call of the
132 // receiver's method.

Calls 4

mapMethod · 0.80
getNodeMethod · 0.80
nodeFunction · 0.70
getOutgoingEdgesFromMethod · 0.45

Tested by

no test coverage detected