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

Method getNodesInFile

src/index.ts:1259–1261  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

1257 * Get all nodes in a file
1258 */
1259 getNodesInFile(filePath: string): Node[] {
1260 return this.queries.getNodesByFile(filePath);
1261 }
1262
1263 /**
1264 * Get all nodes of a specific kind

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected