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

Method findUsages

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

3173 * @returns Array of nodes and edges that reference this symbol
3174 */
3175 findUsages(nodeId: string): Array<{ node: Node; edge: Edge }> {
3176 return this.traverser.findUsages(nodeId);
3177 }
3178
3179 /**
3180 * 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