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

Method getBytes

runtime/src/cache/idb.js:38–40  ·  view source on GitHub ↗
(hash)

Source from the content-addressed store, hash-verified

36 }
37
38 getBytes(hash) {
39 return this._req(this._tx('cas', 'readonly').get(hash));
40 }
41
42 putBytes(hash, bytes) {
43 return this._req(this._tx('cas', 'readwrite').put(bytes, hash));

Callers 1

fetchWithLockfileFunction · 0.45

Calls 3

_reqMethod · 0.95
_txMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected