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

Function countBlobs

packages/dofs/src/fs/writeFile.test.ts:50–52  ·  view source on GitHub ↗
(db: Database)

Source from the content-addressed store, hash-verified

48}
49
50function countBlobs(db: Database): number {
51 return db.scalar<number>("SELECT COUNT(*) FROM vfs_blobs") ?? 0;
52}
53
54function streamOf(...chunks: Uint8Array[]): ReadableStream<Uint8Array> {
55 let i = 0;

Callers 2

writeFile.test.tsFile · 0.70
pullFunction · 0.70

Calls 1

scalarMethod · 0.80

Tested by

no test coverage detected