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

Method getNodesInFile

src/index.ts:1260–1262  ·  view source on GitHub ↗

* Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

1258 * Get all nodes in a file
1259 */
1260 getNodesInFile(filePath: string): Node[] {
1261 return this.queries.getNodesByFile(filePath);
1262 }
1263
1264 /**
1265 * Get all nodes of a specific kind

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected