mirror of
https://github.com/golang/go
synced 2024-11-05 14:56:10 -07:00
2b542361a4
Windows does actually support symlinks, but older versions of Windows only support symlinks when running as an administrator. Newer versions of Windows support symlinks for all users. Instead of skipping based on GOOS, first try the Symlink operation. If it succeeds, we can proceed with the test; otherwise, we can try to write a regular file to determine whether the problem was the symlink operation itself or the destination path. For golang/go#38772 Change-Id: Idaa9592011473de7f514b889859e420a84db6d01 Reviewed-on: https://go-review.googlesource.com/c/tools/+/234537 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> |
||
---|---|---|
.. | ||
fastwalk_dirent_fileno.go | ||
fastwalk_dirent_ino.go | ||
fastwalk_dirent_namlen_bsd.go | ||
fastwalk_dirent_namlen_linux.go | ||
fastwalk_portable.go | ||
fastwalk_test.go | ||
fastwalk_unix.go | ||
fastwalk.go |