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

Method getCallSites

src/index.ts:3239–3241  ·  view source on GitHub ↗

* Direct callers or callees of a function/method, each with every site that * joins them, the symbol itself included when it calls itself * * @param nodeId - ID of the function/method node * @param direction - `'callers'` or `'callees'` * @returns One row per neighbour, in the order g

(nodeId: string, direction: 'callers' | 'callees')

Source from the content-addressed store, hash-verified

3237 * @returns One row per neighbour, in the order getCallers / getCallees list them
3238 */
3239 getCallSites(nodeId: string, direction: 'callers' | 'callees'): CallSiteRow[] {
3240 return this.traverser.getCallSites(nodeId, direction);
3241 }
3242
3243 /**
3244 * Calculate the impact radius of a node

Calls

no outgoing calls

Tested by

no test coverage detected