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

Method getNodesInFile

src/index.ts:2717–2719  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

2715 * Get all nodes in a file
2716 */
2717 getNodesInFile(filePath: string): Node[] {
2718 return this.queries.getNodesByFile(filePath);
2719 }
2720
2721 /**
2722 * 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