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

Method getNodesInFile

src/index.ts:2622–2624  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

2620 * Get all nodes in a file
2621 */
2622 getNodesInFile(filePath: string): Node[] {
2623 return this.queries.getNodesByFile(filePath);
2624 }
2625
2626 /**
2627 * Get all nodes in several files, in one batched query.

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected