* Files stored with no nodes or with recorded extraction errors — the only * rows that can be missing their symbols (`CodeGraph.getIndexHealth`). A * healthy index returns few or none, so this stays cheap on a large one.
()
| 4397 | * healthy index returns few or none, so this stays cheap on a large one. |
| 4398 | */ |
| 4399 | getFilesWithoutNodesOrWithErrors(): FileRecord[] { |
| 4400 | const rows = this.db |
| 4401 | .prepare('SELECT * FROM files WHERE node_count = 0 OR errors IS NOT NULL ORDER BY path') |
| 4402 | .all() as FileRow[]; |
| 4403 | return rows.map(rowToFileRecord); |
| 4404 | } |
| 4405 | |
| 4406 | /** |
| 4407 | * Most recent index timestamp (ms since epoch) across all tracked files, or |
no test coverage detected