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

Method getNodesByNamePrefix

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

2718
2719 /** Nodes whose name starts with `prefix` (index range scan, capped). */
2720 getNodesByNamePrefix(prefix: string, limit = 20): Node[] {
2721 return this.queries.getNodesByNamePrefix(prefix, limit);
2722 }
2723
2724 /**
2725 * 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