MCPcopy
hub / github.com/containerd/containerd / NewWriter

Function NewWriter

pkg/progress/writer.go:45–49  ·  view source on GitHub ↗

NewWriter returns a writer

(w io.Writer)

Source from the content-addressed store, hash-verified

43
44// NewWriter returns a writer
45func NewWriter(w io.Writer) *Writer {
46 return &Writer{
47 w: w,
48 }
49}
50
51// Write the provided bytes
52func (w *Writer) Write(p []byte) (n int, err error) {

Callers 3

ShowProgressFunction · 0.92
push.goFile · 0.92
ProgressHandlerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…