MCPcopy Create free account
hub / github.com/cloudflare/serverless-registry / write

Function write

push/index.ts:140–144  ·  view source on GitHub ↗
(val: Buffer, _, cb)

Source from the content-addressed store, hash-verified

138 const gzipStream = zlib.createGzip({ level: 9 });
139 const writeStream = new stream.Writable({
140 write(val: Buffer, _, cb) {
141 hasher.update(val, "binary");
142 cacheWriter.write(val);
143 cb();
144 },
145 });
146
147 gzipStream.pipe(writeStream);

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected