* Get all tracked files
()
| 4384 | * Get all tracked files |
| 4385 | */ |
| 4386 | getAllFiles(): FileRecord[] { |
| 4387 | if (!this.stmts.getAllFiles) { |
| 4388 | this.stmts.getAllFiles = this.db.prepare('SELECT * FROM files ORDER BY path'); |
| 4389 | } |
| 4390 | const rows = this.stmts.getAllFiles.all() as FileRow[]; |
| 4391 | return rows.map(rowToFileRecord); |
| 4392 | } |
| 4393 | |
| 4394 | /** |
| 4395 | * Files stored with no nodes or with recorded extraction errors — the only |
no test coverage detected