Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
load
Function · 0.45
Calls
3
_req
Method · 0.95
_tx
Method · 0.95
put
Method · 0.80
Tested by
no test coverage detected