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

Method getNodesByNamePrefix

src/index.ts:2650–2652  ·  view source on GitHub ↗

Nodes whose name starts with `prefix` (index range scan, capped).

(prefix: string, limit = 20)

Source from the content-addressed store, hash-verified

2648
2649 /** Nodes whose name starts with `prefix` (index range scan, capped). */
2650 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {
2651 return this.queries.getNodesByNamePrefix(prefix, limit);
2652 }
2653
2654 /**
2655 * Nodes whose name CONTAINS `substring` (LIKE scan, ASCII-case-insensitive,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected