(rel: string)
| 65 | } |
| 66 | |
| 67 | async remove(rel: string): Promise<void> { |
| 68 | try { |
| 69 | await rm(join(this.dir, rel), { force: true }); |
| 70 | } catch (err) { |
| 71 | this.logger.warn('scrollback.remove_failed', { rel, err }); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | /** Drop the entire scrollback subtree for a workspace (workspace deletion). */ |
| 76 | async removeAllFor(wsId: string): Promise<void> { |