Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ writeFile.test.ts
File
writeFile.test.ts
packages/dofs/src/fs/writeFile.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
{ ROOT_INODE } from
"../schema/index.js"
;
4
import
type
{ Database } from
"../storage.js"
;
Callers
nothing calls this directly
Calls
14
readBack
Function · 0.85
writeFileSync
Function · 0.85
resolveInode
Function · 0.85
writeFileRangesSync
Function · 0.85
scalar
Method · 0.80
all
Method · 0.80
withDB
Function · 0.70
writeFile
Function · 0.70
streamOf
Function · 0.70
chunkRows
Function · 0.70
countBlobs
Function · 0.70
mkdir
Function · 0.70
Tested by
no test coverage detected