(content: string)
| 267 | } |
| 268 | |
| 269 | function hasCodeGraphMcpServer(content: string): boolean { |
| 270 | const lines = splitLines(content); |
| 271 | const parent = topLevelRange(lines, 'mcp_servers'); |
| 272 | return !!parent && !!childRange(lines, parent, 'codegraph'); |
| 273 | } |
| 274 | |
| 275 | function upsertCodeGraphMcpServer(content: string): string { |
| 276 | const lines = splitLines(content); |
no test coverage detected