]> Cypherpunks repositories - gostls13.git/commitdiff
filepath/path: fix a comment
authorRobert Griesemer <gri@golang.org>
Wed, 13 Jul 2011 22:10:50 +0000 (15:10 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 13 Jul 2011 22:10:50 +0000 (15:10 -0700)
R=bradfitz
CC=golang-dev
https://golang.org/cl/4704047

src/pkg/path/filepath/path.go

index b181483ed6e646f7519b08c057d756f6bc9f2c3d..a5e6a22ae9607c9d94e31f700345fde3b7ec08bb 100644 (file)
@@ -140,8 +140,8 @@ func SplitList(path string) []string {
 }
 
 // Split splits path immediately following the final Separator,
-// partitioning it into a directory and a file name components.
-// If there are no separators in path, Split returns an empty base
+// separating it into a directory and file name component.
+// If there is no Separator in path, Split returns an empty dir
 // and file set to path.
 func Split(path string) (dir, file string) {
        i := len(path) - 1