aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2023-09-24 14:41:10 +0100
committerDaniel Martí <mvdan@mvdan.cc>2023-09-29 09:00:12 +0000
commit8c3924c6569ceb8183c136e42c9f4b7904a0c031 (patch)
tree8464be8d01bc39e3cb0899478d4496578a06a480 /src/syscall/exec_linux.go
parent5351bcf8225747f0ef39afc44c0499822992ed11 (diff)
downloadgo-8c3924c6569ceb8183c136e42c9f4b7904a0c031.tar.xz
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>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions