* Get all tracked files
()
| 4273 | * Get all tracked files |
| 4274 | */ |
| 4275 | getAllFiles(): FileRecord[] { |
| 4276 | if (!this.stmts.getAllFiles) { |
| 4277 | this.stmts.getAllFiles = this.db.prepare('SELECT * FROM files ORDER BY path'); |
| 4278 | } |
| 4279 | const rows = this.stmts.getAllFiles.all() as FileRow[]; |
| 4280 | return rows.map(rowToFileRecord); |
| 4281 | } |
| 4282 | |
| 4283 | /** |
| 4284 | * Files stored with no nodes or with recorded extraction errors — the only |
no test coverage detected