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

Method getNodesByName

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

2721 * definition the caller wants is never dropped below a search cut.
2722 */
2723 getNodesByName(name: string): Node[] {
2724 return this.queries.getNodesByName(name);
2725 }
2726
2727 /** Nodes whose name starts with `prefix` (index range scan, capped). */
2728 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {

Callers

nothing calls this directly

Calls 1

getNodesByNameMethod · 0.65

Tested by

no test coverage detected