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

Method saveLockfile

runtime/src/cache/idb.js:61–66  ·  view source on GitHub ↗
(entries)

Source from the content-addressed store, hash-verified

59 }
60
61 async saveLockfile(entries) {
62 const s = this._tx('lockfile', 'readwrite');
63 let last;
64 for (const [k, v] of entries) last = s.put(v, k);
65 if (last) await this._req(last);
66 }
67
68 async clear() {
69 await this._req(this._tx('cas', 'readwrite').clear());

Callers 1

runFunction · 0.45

Calls 3

_txMethod · 0.95
_reqMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected