aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/script/testdata/fuzz
diff options
context:
space:
mode:
authorkovan <xaum.io@gmail.com>2026-02-17 02:10:17 +0100
committerGopher Robot <gobot@golang.org>2026-04-03 13:23:46 -0700
commit16b01d5362794110376c23e83f386b9e413e2464 (patch)
treeb1e8db8a311578f0fa386b3cf6ced62a44cba435 /src/cmd/internal/script/testdata/fuzz
parent7b5ba1f8ae661d4750a05e3908e0903cf9249a3b (diff)
downloadgo-16b01d5362794110376c23e83f386b9e413e2464.tar.xz
path/filepath: document Dir behavior for Windows volume-only paths
Clarify that on Windows, Dir("C:") returns "C:." (the current directory on drive C) rather than a root path. This is because Clean("") returns "." and Dir prepends the volume name. Fixes #77314 Change-Id: Idbc8ef5a4905e8587268428503a98a28c8c2f6e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/740902 Reviewed-by: Rob Pike <r@golang.org> TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Olivier Mengué <olivier.mengue@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/cmd/internal/script/testdata/fuzz')
0 files changed, 0 insertions, 0 deletions