package copywithtimeout

import "github.com/Microsoft/hcsshim/internal/copywithtimeout"

Index

Functions

func Copy

func Copy(dst io.Writer, src io.Reader, size int64, context string, timeout time.Duration) (int64, error)

Copy is a wrapper for io.Copy using a timeout duration

Source Files

copywithtimeout.go

Version
v0.8.2
Published
Nov 27, 2018
Platform
js/wasm
Imports
9 packages
Last checked
1 minute ago

Tools for package owners.