MCPcopy
hub / github.com/google/go-containerregistry / ReadCloser

Struct ReadCloser

internal/and/and_closer.go:24–27  ·  view source on GitHub ↗

ReadCloser implements io.ReadCloser by reading from a particular io.Reader and then calling the provided "Close()" method.

Source from the content-addressed store, hash-verified

22// ReadCloser implements io.ReadCloser by reading from a particular io.Reader
23// and then calling the provided "Close()" method.
24type ReadCloser struct {
25 io.Reader
26 CloseFunc func() error
27}
28
29var _ io.ReadCloser = (*ReadCloser)(nil)
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected