(path: string)
| 94 | } |
| 95 | |
| 96 | getFile(path: string): FileRecord | undefined { |
| 97 | const stmt = this.db.prepare('SELECT * FROM files WHERE path = ?'); |
| 98 | return stmt.get(path) as FileRecord | undefined; |
| 99 | } |
| 100 | |
| 101 | getFileById(id: number): FileRecord | undefined { |
| 102 | const stmt = this.db.prepare('SELECT * FROM files WHERE id = ?'); |
no test coverage detected