1
0
mirror of https://github.com/golang/go synced 2024-11-08 01:26:11 -07:00
go/src/archive/tar
Russ Cox 1b09d43067 all: update references to symbols moved from io/ioutil to io
The old ioutil references are still valid, but update our code
to reflect best practices and get used to the new locations.

Code compiled with the bootstrap toolchain
(cmd/asm, cmd/dist, cmd/compile, debug/elf)
must remain Go 1.4-compatible and is excluded.
Also excluded vendored code.

For #41190.

Change-Id: I6d86f2bf7bc37a9d904b6cee3fe0c7af6d94d5b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/263142
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2020-10-20 18:41:18 +00:00
..
testdata archive/tar: automatically promote TypeRegA 2018-02-13 18:36:49 +00:00
common.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
example_test.go archive/tar: partially revert sparse file support 2017-11-16 16:54:08 +00:00
format.go archive/tar: remore redundant parens in type expressions 2018-08-21 01:47:17 +00:00
reader_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
reader.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
stat_actime1.go archive/tar, syscall: add statUnix for aix/ppc64 2019-02-27 23:40:20 +00:00
stat_actime2.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
stat_unix.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
strconv_test.go src, misc: apply gofmt 2019-02-19 20:38:28 +00:00
strconv.go src, misc: apply gofmt 2019-02-19 20:38:28 +00:00
tar_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
writer_test.go archive/tar: automatically promote TypeRegA 2018-02-13 18:36:49 +00:00
writer.go all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00