MCPcopy
hub / github.com/wal-g/wal-g / EmptyWriteCloserIgnorer

Struct EmptyWriteCloserIgnorer

utility/empty_write_ignorer.go:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21type EmptyWriteCloserIgnorer struct {
22 io.WriteCloser
23}
24
25func (e EmptyWriteCloserIgnorer) Write(p []byte) (int, error) {
26 if len(p) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected