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

verify.go

Version
v0.5.0
Published
Apr 28, 2021
Platform
windows/amd64
Imports
6 packages
Last checked
48 seconds ago

Tools for package owners.