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

Method writeAll

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

Source from the content-addressed store, hash-verified

488 }
489
490 writeAll(buffer: Uint8Array) {
491 return buffer.length === 0 ? Effect.void : this.writeAllChunk(buffer)
492 }
493 }
494
495 return (fd: number, append: boolean): FileSystem.File => new FileImpl(fd, append)

Callers 6

Socket.tsFile · 0.45
effectWriteAllFunction · 0.45
layerWriteAllFunction · 0.45
NodeSocket.test.tsFile · 0.45

Calls 1

writeAllChunkMethod · 0.95

Tested by

no test coverage detected