MCPcopy 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

1import { describe, expect, it } from "vitest";
2
3import { ROOT_INODE } from "../schema/index.js";
4import type { Database } from "../storage.js";

Callers

nothing calls this directly

Calls 14

readBackFunction · 0.85
writeFileSyncFunction · 0.85
resolveInodeFunction · 0.85
writeFileRangesSyncFunction · 0.85
scalarMethod · 0.80
allMethod · 0.80
withDBFunction · 0.70
writeFileFunction · 0.70
streamOfFunction · 0.70
chunkRowsFunction · 0.70
countBlobsFunction · 0.70
mkdirFunction · 0.70

Tested by

no test coverage detected