Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ fetch.test.ts
File
fetch.test.ts
packages/dofs/src/sync/fetch.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"vitest"
;
2
3
import
{ withDB } from
"../fs/with-db.js"
;
4
import
{ createFileSync, writeFile, writeRangeSync } from
"../fs/writeFile.js"
;
Callers
nothing calls this directly
Calls
14
coalesceChanges
Function · 0.85
createFileSync
Function · 0.85
writeRangeSync
Function · 0.85
hashOf
Function · 0.85
drain
Function · 0.70
fetchChanges
Function · 0.70
fetchObjects
Function · 0.70
hasObjects
Function · 0.70
find
Method · 0.65
push
Method · 0.65
add
Method · 0.65
withDB
Function · 0.50
Tested by
no test coverage detected