* 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.
()
| 4286 | * healthy index returns few or none, so this stays cheap on a large one. |
| 4287 | */ |
| 4288 | getFilesWithoutNodesOrWithErrors(): FileRecord[] { |
| 4289 | const rows = this.db |
| 4290 | .prepare('SELECT * FROM files WHERE node_count = 0 OR errors IS NOT NULL ORDER BY path') |
| 4291 | .all() as FileRow[]; |
| 4292 | return rows.map(rowToFileRecord); |
| 4293 | } |
| 4294 | |
| 4295 | /** |
| 4296 | * Most recent index timestamp (ms since epoch) across all tracked files, or |
no test coverage detected