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

Method getNodesInFile

src/index.ts:2700–2702  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

2698 * Get all nodes in a file
2699 */
2700 getNodesInFile(filePath: string): Node[] {
2701 return this.queries.getNodesByFile(filePath);
2702 }
2703
2704 /**
2705 * 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