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

Struct limitedReadCloser

pkg/v1/remote/limiter.go:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45type limitedReadCloser struct {
46 io.ReadCloser
47 release func()
48 once sync.Once
49}
50
51func (l *limitedReadCloser) Close() error {
52 err := l.ReadCloser.Close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected