MCPcopy Create free account
hub / github.com/Effect-TS/effect / write

Method write

packages/platform/deno/src/DenoFileSystem.ts:339–341  ·  view source on GitHub ↗
(buffer: Uint8Array)

Source from the content-addressed store, hash-verified

337 }
338
339 write(buffer: Uint8Array) {
340 return this.writeChunk("write", buffer)
341 }
342
343 private writeAllChunk(buffer: Uint8Array): Effect.Effect<void, PlatformError.PlatformError> {
344 return Effect.flatMap(this.writeChunk("writeAll", buffer), (bytesWritten) => {

Callers

nothing calls this directly

Calls 1

writeChunkMethod · 0.95

Tested by

no test coverage detected