MCPcopy
hub / github.com/cloudflare/cloudflared / NopCloseWriterAdapter

Function NopCloseWriterAdapter

stream/stream.go:40–42  ·  view source on GitHub ↗
(stream io.ReadWriter)

Source from the content-addressed store, hash-verified

38}
39
40func NopCloseWriterAdapter(stream io.ReadWriter) *nopCloseWriterAdapter {
41 return &nopCloseWriterAdapter{stream}
42}
43
44func (n *nopCloseWriterAdapter) CloseWrite() error {
45 return nil

Callers 1

PipeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected