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

Method getNodesByName

src/index.ts:2645–2647  ·  view source on GitHub ↗

* Get ALL nodes with an exact name (direct index lookup, not FTS-ranked/capped). * Used to enumerate every overload of a heavily-overloaded name so the specific * definition the caller wants is never dropped below a search cut.

(name: string)

Source from the content-addressed store, hash-verified

2643 * definition the caller wants is never dropped below a search cut.
2644 */
2645 getNodesByName(name: string): Node[] {
2646 return this.queries.getNodesByName(name);
2647 }
2648
2649 /** Nodes whose name starts with `prefix` (index range scan, capped). */
2650 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {

Callers

nothing calls this directly

Calls 1

getNodesByNameMethod · 0.65

Tested by

no test coverage detected