Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
14
func
(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
21
type
EmptyWriteCloserIgnorer
struct
{
22
io.WriteCloser
Callers
nothing calls this directly
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected