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

Method fileHasExportedNode

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

Whether any node in the file is exported (`getNodesInFile(f).some(n => n.isExported)`), as one indexed probe.

(filePath: string)

Source from the content-addressed store, hash-verified

97 getNodesInFile(filePath: string): Node[];
98 /** Whether any node in the file is exported (`getNodesInFile(f).some(n => n.isExported)`), as one indexed probe. */
99 fileHasExportedNode?(filePath: string): boolean;
100 /** `getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file. */
101 getExportedNodesInFile?(filePath: string): Node[];
102 /** `getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file. */

Callers 1

createContextMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected