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

Method write

packages/platform/node-shared/src/NodeFileSystem.ts:468–470  ·  view source on GitHub ↗
(buffer: Uint8Array)

Source from the content-addressed store, hash-verified

466 }
467
468 write(buffer: Uint8Array) {
469 return this.writeOnce("write", nodeWrite, buffer)
470 }
471
472 private writeAllChunk(buffer: Uint8Array): Effect.Effect<void, Error.PlatformError> {
473 // Recurse outside `writeOnce` so an ESPIPE retry only repeats the failed chunk.

Callers

nothing calls this directly

Calls 1

writeOnceMethod · 0.95

Tested by

no test coverage detected