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

Method getExportedNodesInFile

src/resolution/types.ts:96–96  ·  view source on GitHub ↗

`getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file.

(filePath: string)

Source from the content-addressed store, hash-verified

94 fileHasExportedNode?(filePath: string): boolean;
95 /** `getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file. */
96 getExportedNodesInFile?(filePath: string): Node[];
97 /** `getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file. */
98 getNodesInFileNamed?(filePath: string, name: string): Node[];
99 /** Get all nodes by name */

Callers 1

getFileExportIndexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected