MCPcopy Index your code
hub / github.com/containerd/containerd / Close

Method Close

core/remotes/docker/fetcher.go:160–162  ·  view source on GitHub ↗

Close closes the reader; subsequent writes from the write half of the pipe will return error ErrClosedPipe.

()

Source from the content-addressed store, hash-verified

158// Close closes the reader; subsequent writes from the write half of the pipe
159// will return error ErrClosedPipe.
160func (r *pipeReader) Close() error {
161 return r.CloseWithError(nil)
162}
163
164// CloseWithError closes the reader; subsequent writes to the write half of the
165// pipe will return the error err.

Callers

nothing calls this directly

Calls 1

CloseWithErrorMethod · 0.95

Tested by

no test coverage detected