MCPcopy Create free account
hub / github.com/cloudflare/computer / hasObjects

Method hasObjects

packages/rpc/src/server.ts:206–208  ·  view source on GitHub ↗
(hashes: Uint8Array[])

Source from the content-addressed store, hash-verified

204 }
205
206 async hasObjects(hashes: Uint8Array[]): Promise<Uint8Array[]> {
207 return hasObjects(this.db, hashes);
208 }
209
210 fetchObjects(hashes: Uint8Array[]): ReadableStream<{ hash: Uint8Array; bytes: Uint8Array }> {
211 return iterableToReadableStream(fetchObjects(this.db, hashes));

Callers

nothing calls this directly

Calls 1

hasObjectsFunction · 0.90

Tested by

no test coverage detected