1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/ioutils
Aaron Lehmann 64f8ee444d Cap the amount of buffering done by BytesPipe
Turn BytesPipe's Read and Write functions into blocking, goroutine-safe
functions. Add a CloseWithError function to propagate an error code to
the Read function.

Adjust tests to work with the blocking Read and Write functions.

Remove BufReader, since now its users can use BytesPipe directly.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-11-12 10:11:29 -08:00
..
bytespipe.go
bytespipe_test.go
fmt.go
fmt_test.go
multireader.go
multireader_test.go
readers.go
readers_test.go
scheduler.go
scheduler_gccgo.go
temp_unix.go
temp_windows.go
writeflusher.go
writers.go
writers_test.go