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

Method setVersion

runtime/src/cache/idb.js:73–75  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

71 }
72
73 async setVersion(version) {
74 if (version) await this._req(this._tx('lockfile', 'readwrite').put(version, VERSION_KEY));
75 }
76
77 getVersion() {
78 return this._req(this._tx('lockfile', 'readonly').get(VERSION_KEY));

Callers 1

loadFunction · 0.45

Calls 3

_reqMethod · 0.95
_txMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected