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

Method Write

utility/empty_write_ignorer.go:14–19  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

12}
13
14func (e EmptyWriteIgnorer) Write(p []byte) (int, error) {
15 if len(p) == 0 {
16 return 0, nil
17 }
18 return e.Writer.Write(p)
19}
20
21type EmptyWriteCloserIgnorer struct {
22 io.WriteCloser

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected