package verify
import "github.com/google/go-containerregistry/internal/verify"
Index ¶
Functions ¶
func ReadCloser ¶
func ReadCloser(r io.ReadCloser, h v1.Hash) (io.ReadCloser, error)
ReadCloser wraps the given io.ReadCloser to verify that its contents match the provided v1.Hash before io.EOF is returned.
Source Files ¶
- Version
- v0.5.0
- Published
- Apr 28, 2021
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 16 hours ago –
Tools for package owners.