MCPcopy
hub / github.com/Effect-TS/effect / write

Function write

packages/platform-node-shared/test/Sink.test.ts:29–32  ·  view source on GitHub ↗
(chunk, _encoding, callback)

Source from the content-addressed store, hash-verified

27 callback()
28 },
29 write(chunk, _encoding, callback) {
30 items.push(chunk.toString())
31 callback()
32 },
33 destroy(_error, callback) {
34 destroyed = true
35 callback(null)

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected