diff options
| author | Dmitri Shuralyov <shurcooL@gmail.com> | 2016-07-26 13:01:18 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-10-12 02:52:01 +0000 |
| commit | 6597bcbe53cad07b0ac4070b4f428f5db3331383 (patch) | |
| tree | dacb3c9d4f2fb1757a94fdbdf6822cbb68dbe493 /src/path | |
| parent | 460d112f6c3716a45e99651ed769e7d8d74aca41 (diff) | |
| download | go-6597bcbe53cad07b0ac4070b4f428f5db3331383.tar.xz | |
path/filepath: remove unneeded doc statement for SplitList
This is a followup to CL 24747, where the package doc phrase
"Functions in this package replace occurrences of slash unless otherwise specified."
was removed. The phrase was originally added in CL 7310 together
with this explicit opt out statement for SplitList.
Remove it since it's no longer neccessary. This helps consistency.
Updates #16111.
Updates #10122.
Change-Id: Iba86de57c24100adecac9cb5892ce180126c0ea6
Reviewed-on: https://go-review.googlesource.com/25250
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/path')
| -rw-r--r-- | src/path/filepath/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/filepath/path.go b/src/path/filepath/path.go index 3c70cd8be6..1d8e35c969 100644 --- a/src/path/filepath/path.go +++ b/src/path/filepath/path.go @@ -177,7 +177,7 @@ func FromSlash(path string) string { // SplitList splits a list of paths joined by the OS-specific ListSeparator, // usually found in PATH or GOPATH environment variables. // Unlike strings.Split, SplitList returns an empty slice when passed an empty -// string. SplitList does not replace slash characters in the returned paths. +// string. func SplitList(path string) []string { return splitList(path) } |
