MCPcopy
hub / github.com/containerd/containerd / Write

Method Write

pkg/progress/writer.go:52–54  ·  view source on GitHub ↗

Write the provided bytes

(p []byte)

Source from the content-addressed store, hash-verified

50
51// Write the provided bytes
52func (w *Writer) Write(p []byte) (n int, err error) {
53 return w.buf.Write(p)
54}
55
56// Flush should be called when refreshing the current display.
57func (w *Writer) Flush() error {

Callers 2

FuzzImportIndexFunction · 0.95
TestContentEncodingFunction · 0.95

Implementers 5

pushWritercore/remotes/docker/pusher.go
namespacedWritercore/metadata/content.go
fakeWritercore/content/helpers_test.go
remoteWritercore/content/proxy/content_writer.go
writerplugins/content/local/writer.go

Calls 1

WriteMethod · 0.65

Tested by 2

FuzzImportIndexFunction · 0.76
TestContentEncodingFunction · 0.76