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 Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
bytespipe_test.go Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
fmt.go
fmt_test.go
multireader.go
multireader_test.go
readers.go Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
readers_test.go Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
scheduler.go
scheduler_gccgo.go
temp_unix.go
temp_windows.go
writeflusher.go
writers.go
writers_test.go