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

Method getNode

src/index.ts:1252–1254  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

1250 * Get a node by ID
1251 */
1252 getNode(id: string): Node | null {
1253 return this.queries.getNodeById(id);
1254 }
1255
1256 /**
1257 * Get all nodes in a file

Callers 15

containerOfMethod · 0.80
boundaryCandidatesMethod · 0.80
handleExploreMethod · 0.80
valueRefReadersFunction · 0.80
sourceFilesFunction · 0.80
instTargetsFunction · 0.80
resolution.test.tsFile · 0.80
methodsOfFunction · 0.80
callerNamesOfFunction · 0.80

Calls 1

getNodeByIdMethod · 0.65

Tested by 6

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