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.6
Published
Feb 3, 2019
Platform
linux/amd64
Imports
9 packages
Last checked
4 minutes ago

Tools for package owners.