(name: string)
| 117 | } |
| 118 | |
| 119 | async remove(name: string): Promise<void> { |
| 120 | try { |
| 121 | unlinkSync(this.pathFor(name)); |
| 122 | } catch (error) { |
| 123 | if ((error as NodeJS.ErrnoException).code !== 'ENOENT') { |
| 124 | throw error; |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | async list(): Promise<string[]> { |
| 130 | let entries: string[]; |