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

Method findUsages

src/index.ts:3105–3107  ·  view source on GitHub ↗

* Find all usages of a symbol * * Returns all nodes that reference the specified symbol through * any edge type (calls, references, type_of, etc.). * * @param nodeId - ID of the symbol node * @returns Array of nodes and edges that reference this symbol

(nodeId: string)

Source from the content-addressed store, hash-verified

3103 * @returns Array of nodes and edges that reference this symbol
3104 */
3105 findUsages(nodeId: string): Array<{ node: Node; edge: Edge }> {
3106 return this.traverser.findUsages(nodeId);
3107 }
3108
3109 /**
3110 * Get callers of a function/method

Callers 2

graph.test.tsFile · 0.45
foundation.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected