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

Method findUsages

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

1605 * @returns Array of nodes and edges that reference this symbol
1606 */
1607 findUsages(nodeId: string): Array<{ node: Node; edge: Edge }> {
1608 return this.traverser.findUsages(nodeId);
1609 }
1610
1611 /**
1612 * 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