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

Method getNodesByIds

src/index.ts:2445–2447  ·  view source on GitHub ↗

* Get many nodes by id in ONE round-trip (LRU-cache aware). * * The batch form of getNode. Anything resolving a list of edges to * their endpoints — a caller list, a callee rail, an impact set — must use * this rather than a `getNode` per edge: a symbol with 500 callers is 500

(ids: readonly string[])

Source from the content-addressed store, hash-verified

2443 * queries otherwise. Ids that name nothing are simply absent from the map.
2444 */
2445 getNodesByIds(ids: readonly string[]): Map<string, Node> {
2446 return this.queries.getNodesByIds(ids);
2447 }
2448
2449 /**
2450 * Every symbol carrying an exact qualified name.

Callers 2

db-perf.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected