64f8ee444d
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> |
||
---|---|---|
.. | ||
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 |