()
| 66 | } |
| 67 | |
| 68 | async clear() { |
| 69 | await this._req(this._tx('cas', 'readwrite').clear()); |
| 70 | await this._req(this._tx('lockfile', 'readwrite').clear()); |
| 71 | } |
| 72 | |
| 73 | async setVersion(version) { |
| 74 | if (version) await this._req(this._tx('lockfile', 'readwrite').put(version, VERSION_KEY)); |
no test coverage detected