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

Function member

__tests__/csharp-member-initializers.test.ts:103–107  ·  view source on GitHub ↗
(qualifiedName: string)

Source from the content-addressed store, hash-verified

101 cg = await CodeGraph.init(root, { index: true });
102 const graph = cg;
103 const member = (qualifiedName: string): Node => {
104 const node = graph.getNodesInFile('Box.cs').find((n) => n.qualifiedName === qualifiedName);
105 expect(node, qualifiedName).toBeDefined();
106 return node!;
107 };
108 const targets = (node: Node, kind: string): string[] =>
109 graph
110 .getOutgoingEdgesFrom([node.id])

Calls 1

getNodesInFileMethod · 0.65

Tested by

no test coverage detected