mirror of
https://github.com/golang/go
synced 2024-11-06 04:36:15 -07:00
f03b3350b7
Revert https://golang.org/cl/45096. Original change description: godoc: follow symbolic links to folders in GOROOT Directory walking in godoc relies on ReadDir which returns the result of os.Lstat. Instead make the the OS VFS's ReadDir use os.Stat on symlinks before returning. Updates golang/go#15049 Fixes golang/go#21061 Change-Id: Ieaa7923d85842f3da5696a7f46134d16407dae66 Reviewed-on: https://go-review.googlesource.com/53634 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
gatefs | ||
httpfs | ||
mapfs | ||
zipfs | ||
emptyvfs_test.go | ||
emptyvfs.go | ||
namespace.go | ||
os.go | ||
vfs.go |