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

Method putBytes

runtime/src/cache/idb.js:42–44  ·  view source on GitHub ↗
(hash, bytes)

Source from the content-addressed store, hash-verified

40 }
41
42 putBytes(hash, bytes) {
43 return this._req(this._tx('cas', 'readwrite').put(bytes, hash));
44 }
45
46 async loadLockfile() {
47 const out = new Map();

Callers 1

fetchWithLockfileFunction · 0.45

Calls 3

_reqMethod · 0.95
_txMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected