]> Cypherpunks.ru repositories - gostls13.git/commit
io/fs: minor corrections to Glob doc
authorIan Lance Taylor <iant@golang.org>
Thu, 7 Jan 2021 00:30:41 +0000 (16:30 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 8 Jan 2021 15:41:36 +0000 (15:41 +0000)
commitc6513bca5aeaa9f9b6fe552d60f5b6c700ce0772
tree1baefd5df2848cdd3c323361b2f3282941dbe1f3
parent304f769ffc68e64244266b3aadbf91e6738c0064
io/fs: minor corrections to Glob doc

The documentation for Glob was copied from filepath.Glob, and needs a bit
of tweaking: paths are not rooted at slash; the separator is always '/'.

Fixes #43537

Change-Id: Id64daa137e2762b66a82a5b9e60bbe603f4e2f5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/282173
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/io/fs/glob.go