Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ Write
Method
Write
pkg/splitwriter/split_writer.go:76–78 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
(w *splitWriter) Write(p []byte) (n int, err error) {
77
return
w.f.Write(p)
78
}
79
80
func
(w *splitWriter) Close() error {
81
if
err := w.f.Close(); err != nil {
Callers
2
TestSplitWriter
Function · 0.45
TestSplitWriterErr
Function · 0.45
Calls
no outgoing calls
Tested by
2
TestSplitWriter
Function · 0.36
TestSplitWriterErr
Function · 0.36