MCPcopy 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
76func (w *splitWriter) Write(p []byte) (n int, err error) {
77 return w.f.Write(p)
78}
79
80func (w *splitWriter) Close() error {
81 if err := w.f.Close(); err != nil {

Callers 2

TestSplitWriterFunction · 0.45
TestSplitWriterErrFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestSplitWriterFunction · 0.36
TestSplitWriterErrFunction · 0.36