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

Method getCallees

src/index.ts:1630–1632  ·  view source on GitHub ↗

* Get callees of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default: 1) * @returns Array of nodes called by this function

(nodeId: string, maxDepth: number = 1)

Source from the content-addressed store, hash-verified

1628 * @returns Array of nodes called by this function
1629 */
1630 getCallees(nodeId: string, maxDepth: number = 1): Array<{ node: Node; edge: Edge }> {
1631 return this.traverser.getCallees(nodeId, maxDepth);
1632 }
1633
1634 /**
1635 * Calculate the impact radius of a node

Callers 3

resolution.test.tsFile · 0.45
graph.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected