]> Cypherpunks repositories - gostls13.git/commit
io/fs: move path name documentation up to the package doc comment
authorDamien Neil <dneil@google.com>
Thu, 2 Oct 2025 17:45:01 +0000 (10:45 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 2 Oct 2025 19:36:34 +0000 (12:36 -0700)
commit4008e07080ef215e46f48e5e2f6b5d37d6d9cb9f
treed8c91400487a27481d37d3c80793acbf388a2377
parent0e4e2e68323df08d9e4c876e5abc5b549bd247f5
io/fs: move path name documentation up to the package doc comment

Perhaps surprisingly to users, io/fs path names are slash-separated.
Move the documentation for path names up to the top of the package
rather than burying it in the ValidPath documentation.

Change-Id: Id338df07c74a16be74c687ac4c45e0513ee40a8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/708616
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
src/io/fs/fs.go