go/src/path
Daniel Martí 8c3924c656 path/filepath: reuse os.ReadDir
While reading the source code, I noticed that readDir
seemed extremely similar to os.ReadDir. They indeed appear to be copies.

Note that there's readDirNames as well, but it has no corresponding
os.ReadDirNames top-level helper to be replaced by.

Change-Id: I6fe1d0aeda35dc69bb4531986fe3a21ebda1d877
Reviewed-on: https://go-review.googlesource.com/c/go/+/530795
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-29 09:00:12 +00:00
..
filepath path/filepath: reuse os.ReadDir 2023-09-29 09:00:12 +00:00
example_test.go
match.go all: remove trailing blank doc comment lines 2022-04-01 18:18:07 +00:00
match_test.go
path.go path: use bytealg.LastIndexByteString 2023-09-13 18:34:40 +00:00
path_test.go