The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names.
()
| 4572 | |
| 4573 | /** The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names. */ |
| 4574 | getCppIncludeEdges(): Array<{ source: string; target: string }> { |
| 4575 | return this.db.prepare( |
| 4576 | `SELECT s.file_path AS source, t.file_path AS target FROM edges e |
| 4577 | JOIN nodes s ON s.id = e.source JOIN nodes t ON t.id = e.target |
| 4578 | WHERE e.kind = 'imports' AND s.kind = 'file' AND t.kind = 'file' AND s.language IN ('c', 'cpp')` |
| 4579 | ).all() as Array<{ source: string; target: string }>; |
| 4580 | } |
| 4581 | |
| 4582 | /** |
| 4583 | * The failed C++ calls and function values with a qualifier outside `std` |
no test coverage detected