]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix comment for Split()
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Aug 2010 01:43:53 +0000 (11:43 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Aug 2010 01:43:53 +0000 (11:43 +1000)
R=golang-dev
CC=golang-dev
https://golang.org/cl/1905050

src/pkg/path/path.go

index 9c1d09374cca39ceff09f5c6f52319fa6f9790f1..6a499f04267ec0e7540a81e4185697584dd8b600 100644 (file)
@@ -104,7 +104,7 @@ func Clean(path string) string {
 
 // Split splits path immediately following the final slash,
 // separating it into a directory and file name component.
-// If there is no slash in path, DirFile returns an empty dir and
+// If there is no slash in path, Split returns an empty dir and
 // file set to path.
 func Split(path string) (dir, file string) {
        for i := len(path) - 1; i >= 0; i-- {