]> Cypherpunks repositories - gostls13.git/commit
os: don't include DirFS argument in DirFS errors
authorIan Lance Taylor <iant@golang.org>
Fri, 28 Oct 2022 00:29:51 +0000 (17:29 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 28 Oct 2022 19:25:47 +0000 (19:25 +0000)
commit42f334d677d5d50ba7ddca08a30451b33e78e61b
tree996f41034f47ebdbd117d11400403f8482b5817f
parente59d873ff906550ace73b86bdb74b68ebe482a10
os: don't include DirFS argument in DirFS errors

Otherwise we wind up mixing GOOS paths with slash separated paths.

Change-Id: I63dd733cbdb0668effbc030cfd58945008732d9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/446115
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/os/file.go
src/os/os_test.go