MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / clear

Method clear

runtime/src/cache/idb.js:68–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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));

Callers 7

loadFunction · 0.45
runFunction · 0.45
resetFunction · 0.45
clearCacheFunction · 0.45
disposeFunction · 0.45
createWorkerFunction · 0.45
disposeFunction · 0.45

Calls 2

_reqMethod · 0.95
_txMethod · 0.95

Tested by

no test coverage detected