Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ hasObjects
Function
hasObjects
packages/computer/src/workspace.test.ts:103–105 ·
view source on GitHub ↗
(hashes)
Source
from the content-addressed store, hash-verified
101
};
102
},
103
async
hasObjects(hashes) {
104
return
hashes.filter((h) => blobs.has(hex(h)));
105
},
106
fetchObjects(hashes) {
107
return
new
ReadableStream({
108
start(c) {
Callers
nothing calls this directly
Calls
2
has
Method · 0.80
hex
Function · 0.70
Tested by
no test coverage detected