package verify

import "github.com/google/go-containerregistry/pkg/v1/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

verify.go

Version
v0.4.0
Published
Jan 13, 2021
Platform
js/wasm
Imports
6 packages
Last checked
now

Tools for package owners.