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

Method getNodesByName

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

1343 * definition the caller wants is never dropped below a search cut.
1344 */
1345 getNodesByName(name: string): Node[] {
1346 return this.queries.getNodesByName(name);
1347 }
1348
1349 /** Nodes whose name starts with `prefix` (index range scan, capped). */
1350 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {

Callers

nothing calls this directly

Calls 1

getNodesByNameMethod · 0.65

Tested by

no test coverage detected