go/src/compress
Russ Cox c32140fa94 all: update to use filepath.WalkDir instead of filepath.Walk
Now that filepath.WalkDir is available, it is more efficient
and should be used in place of filepath.Walk.
Update the tree to reflect best practices.

As usual, the code compiled with Go 1.4 during bootstrap is excluded.
(In this CL, that's only cmd/dist.)

For #42027.

Change-Id: Ib0f7b1e43e50b789052f9835a63ced701d8c411c
Reviewed-on: https://go-review.googlesource.com/c/go/+/267719
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2020-12-02 16:33:57 +00:00
..
bzip2 all: fix quoting for compress/bzip2 and time's godoc 2020-10-23 21:57:39 +00:00
flate all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
gzip all: update to use filepath.WalkDir instead of filepath.Walk 2020-12-02 16:33:57 +00:00
lzw all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
testdata Revert "compress: move benchmark text from src/testdata to src/compress/testdata" 2018-10-01 16:16:21 +00:00
zlib all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00