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

Method getNode

src/index.ts:1514–1516  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

1512 * Get a node by ID
1513 */
1514 getNode(id: string): Node | null {
1515 return this.queries.getNodeById(id);
1516 }
1517
1518 /**
1519 * 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

valueRefReadersFunction · 0.64
calleesFunction · 0.64
calleesOfFunction · 0.64
targetsFunction · 0.64
sourceFilesFunction · 0.64
calleesOfFunction · 0.64
targetsFunction · 0.64
callsFromMethodFunction · 0.64
callsFromFunction · 0.64
instTargetsFunction · 0.64
methodsOfFunction · 0.64
callersOfFunction · 0.64