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

Method getCallSites

src/index.ts:3139–3141  ·  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

3137 * @returns One row per neighbour, in the order getCallers / getCallees list them
3138 */
3139 getCallSites(nodeId: string, direction: 'callers' | 'callees'): CallSiteRow[] {
3140 return this.traverser.getCallSites(nodeId, direction);
3141 }
3142
3143 /**
3144 * Calculate the impact radius of a node

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected