Remove a single entry and its temp DB file.
(handle: string)
| 66 | |
| 67 | /** Remove a single entry and its temp DB file. */ |
| 68 | delete(handle: string): void { |
| 69 | const entry = this.cache.get(handle) |
| 70 | if (entry) { |
| 71 | deleteTempDatabase(entry.tempDbPath) |
| 72 | this.cache.delete(handle) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | /** Clear all entries and delete their temp DB files. */ |
| 77 | clear(): void { |
nothing calls this directly
no test coverage detected