(path: string)
| 104 | } |
| 105 | |
| 106 | deleteFile(path: string): void { |
| 107 | const stmt = this.db.prepare('DELETE FROM files WHERE path = ?'); |
| 108 | stmt.run(path); |
| 109 | } |
| 110 | |
| 111 | getAllFiles(): FileRecord[] { |
| 112 | const stmt = this.db.prepare('SELECT * FROM files ORDER BY path'); |
nothing calls this directly
no outgoing calls
no test coverage detected