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

Method getNode

src/index.ts:1253–1255  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

1251 * Get a node by ID
1252 */
1253 getNode(id: string): Node | null {
1254 return this.queries.getNodeById(id);
1255 }
1256
1257 /**
1258 * 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