package verify
import "github.com/google/go-containerregistry/internal/verify"
Package verify provides a ReadCloser that verifies content matches the expected hash values.
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.1
- Published
- May 17, 2021
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 7 hours ago –
Tools for package owners.