MCPcopy
hub / github.com/colbymchenry/codegraph / getNode

Method getNode

src/index.ts:850–852  ·  view source on GitHub ↗

* Get a node by ID

(id: string)

Source from the content-addressed store, hash-verified

848 * Get a node by ID
849 */
850 getNode(id: string): Node | null {
851 return this.queries.getNodeById(id);
852 }
853
854 /**
855 * 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