()
| 37 | fs.writeFileSync(this.file, JSON.stringify(this.store, null, '\t')); |
| 38 | } |
| 39 | clear(): void { |
| 40 | this.store = {}; |
| 41 | fs.rmSync(this.file, { recursive: true }); |
| 42 | } |
| 43 | delete(key: string): boolean { |
| 44 | dset(this.store, key, undefined); |
| 45 | this.write(); |
no outgoing calls
no test coverage detected