The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names.
()
| 4461 | |
| 4462 | /** The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names. */ |
| 4463 | getCppIncludeEdges(): Array<{ source: string; target: string }> { |
| 4464 | return this.db.prepare( |
| 4465 | `SELECT s.file_path AS source, t.file_path AS target FROM edges e |
| 4466 | JOIN nodes s ON s.id = e.source JOIN nodes t ON t.id = e.target |
| 4467 | WHERE e.kind = 'imports' AND s.kind = 'file' AND t.kind = 'file' AND s.language IN ('c', 'cpp')` |
| 4468 | ).all() as Array<{ source: string; target: string }>; |
| 4469 | } |
| 4470 | |
| 4471 | /** |
| 4472 | * The failed C++ calls and function values with a qualifier outside `std` |
no test coverage detected