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
Eng Zer Jun c55a4ac779
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-08-27 14:56:57 +08:00
..
buffer.go Add canonical import comment 2018-02-05 16:51:57 -05:00
buffer_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
bytespipe.go Fixed the inconsistence and also a potential data race in pkg/ioutils/bytespipe.go: bp.closeErr is read/write 8 times; 7 out of 8 times it is protected by bp.mu.Lock(); 1 out of 8 times it is read without a Lock 2019-07-01 11:38:38 -07:00
bytespipe_test.go pkg/ioutils use sha256 instead of sha1 in tests 2019-09-18 12:57:35 +02:00
fswriters.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fswriters_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
readers.go fix go-digest to make sure the algorithms are registered 2021-08-20 00:35:41 +02:00
readers_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
temp_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
temp_windows.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
writeflusher.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00