* Get the source code for a node * * Reads the file and extracts the code between startLine and endLine. * * @param nodeId - ID of the node * @returns Code string or null if not found
(nodeId: string)
| 3269 | * @returns Code string or null if not found |
| 3270 | */ |
| 3271 | async getCode(nodeId: string): Promise<string | null> { |
| 3272 | return this.contextBuilder.getCode(nodeId); |
| 3273 | } |
| 3274 | |
| 3275 | /** |
| 3276 | * Find relevant subgraph for a query |
no outgoing calls
no test coverage detected