diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2017-06-13 22:55:33 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-06-14 02:54:44 +0000 |
| commit | 2f7fbf8851e4c45f7e0d207836a3c7a97eaa1823 (patch) | |
| tree | 5cb05ead7f7e105b91117c9c15c9e3a17474920e /src/path/filepath/path.go | |
| parent | f4f018518d6f8ca220871da072c7afe33e1cdbcb (diff) | |
| download | go-2f7fbf8851e4c45f7e0d207836a3c7a97eaa1823.tar.xz | |
path, path/filepath: clarify and cross-reference packages
The path package has a reference to the path/filepath package, so add
a reverse reference.
And clarify the path package doesn't do Windows paths.
Fixes #20117
Change-Id: I65c5ce24e600b32ea20c5821b744bd89f6aff98c
Reviewed-on: https://go-review.googlesource.com/45653
Reviewed-by: Jaana Burcu Dogan <jbd@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/path/filepath/path.go')
| -rw-r--r-- | src/path/filepath/path.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/path/filepath/path.go b/src/path/filepath/path.go index e35ed5fefd..c242143c7a 100644 --- a/src/path/filepath/path.go +++ b/src/path/filepath/path.go @@ -4,6 +4,11 @@ // Package filepath implements utility routines for manipulating filename paths // in a way compatible with the target operating system-defined file paths. +// +// The filepath package uses either forward slashes or backslashes, +// depending on the operating system. To process paths such as URLs +// that always use forward slashes regardless of the operating +// system, see the path package. package filepath import ( |
