MCPcopy
hub / github.com/colbymchenry/codegraph / getNodesInFile

Method getNodesInFile

src/index.ts:857–859  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

855 * Get all nodes in a file
856 */
857 getNodesInFile(filePath: string): Node[] {
858 return this.queries.getNodesByFile(filePath);
859 }
860
861 /**
862 * Get all nodes of a specific kind

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected