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

Method getExportedSymbols

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

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

Callers

nothing calls this directly

Calls 1

getNodesByFileMethod · 0.80

Tested by

no test coverage detected