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

Method getNodesByName

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

2713 * definition the caller wants is never dropped below a search cut.
2714 */
2715 getNodesByName(name: string): Node[] {
2716 return this.queries.getNodesByName(name);
2717 }
2718
2719 /** Nodes whose name starts with `prefix` (index range scan, capped). */
2720 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {

Callers

nothing calls this directly

Calls 1

getNodesByNameMethod · 0.65

Tested by

no test coverage detected