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

Method getExportedSymbols

src/graph/queries.ts:152–155  ·  view source on GitHub ↗

* Get all symbols exported by a file * * @param filePath - Path to the file * @returns Array of exported nodes

(filePath: string)

Source from the content-addressed store, hash-verified

150 * @returns Array of exported nodes
151 */
152 getExportedSymbols(filePath: string): Node[] {
153 const nodes = this.queries.getNodesByFile(filePath);
154 return nodes.filter((n) => n.isExported);
155 }
156
157 /**
158 * Find symbols by qualified name pattern

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected