MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / getExportedSymbols

Method getExportedSymbols

src/graph/queries.ts:151–154  ·  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

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

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected