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

Method getNodesInFile

src/index.ts:2692–2694  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

2690 * Get all nodes in a file
2691 */
2692 getNodesInFile(filePath: string): Node[] {
2693 return this.queries.getNodesByFile(filePath);
2694 }
2695
2696 /**
2697 * 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