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

Method getNode

src/index.ts:1322–1324  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

1320 * Get a node by ID
1321 */
1322 getNode(id: string): Node | null {
1323 return this.queries.getNodeById(id);
1324 }
1325
1326 /**
1327 * Get all nodes in a file

Callers 15

containerOfMethod · 0.80
boundaryCandidatesMethod · 0.80
handleExploreMethod · 0.80
valueRefReadersFunction · 0.80
sourceFilesFunction · 0.80
calleesOfFunction · 0.80
callsFromFunction · 0.80
instTargetsFunction · 0.80
resolution.test.tsFile · 0.80

Calls 1

getNodeByIdMethod · 0.65

Tested by 8

valueRefReadersFunction · 0.64
sourceFilesFunction · 0.64
calleesOfFunction · 0.64
callsFromFunction · 0.64
instTargetsFunction · 0.64
methodsOfFunction · 0.64
callerNamesOfFunction · 0.64
sourceNamesFunction · 0.64