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

Method write

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

Source from the content-addressed store, hash-verified

301 }
302
303 write(buffer: Uint8Array) {
304 return this.writeChunk("write", buffer)
305 }
306
307 private writeAllChunk(buffer: Uint8Array): Effect.Effect<void, PlatformError.PlatformError> {
308 return Effect.flatMap(this.writeChunk("writeAll", buffer), (bytesWritten) => {

Callers

nothing calls this directly

Calls 1

writeChunkMethod · 0.95

Tested by

no test coverage detected