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

Method getNode

src/index.ts:2382–2384  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

2380 * Get a node by ID
2381 */
2382 getNode(id: string): Node | null {
2383 return this.queries.getNodeById(id);
2384 }
2385
2386 /**
2387 * Get many nodes by id in ONE round-trip (LRU-cache aware).

Callers 15

collectSynthLinksMethod · 0.80
containerOfMethod · 0.80
visitMethod · 0.80
memberOfSupertypeMethod · 0.80
handleExploreMethod · 0.80
buildNodeFunction · 0.80
resolveHopFunction · 0.80
saveTrailFunction · 0.80
buildStepsFunction · 0.80
resolveAnchorFunction · 0.80

Calls 1

getNodeByIdMethod · 0.65

Tested by 15

callsFromFunction · 0.64
edgesFromFunction · 0.64
madeFunction · 0.64
callsInFunction · 0.64
callsFromFunction · 0.64
targetsOfFunction · 0.64
callsOfFunction · 0.64
callsFromFunction · 0.64
callTargetsFunction · 0.64
typeRefsFunction · 0.64
takesFunction · 0.64
routeOfFunction · 0.64