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

Method getNodesByName

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

1274 * definition the caller wants is never dropped below a search cut.
1275 */
1276 getNodesByName(name: string): Node[] {
1277 return this.queries.getNodesByName(name);
1278 }
1279
1280 /** Nodes whose name starts with `prefix` (index range scan, capped). */
1281 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {

Callers

nothing calls this directly

Calls 1

getNodesByNameMethod · 0.65

Tested by

no test coverage detected