mirror of
https://github.com/golang/go
synced 2024-11-17 18:54:42 -07:00
path: fix typo
Fixes #13419. Change-Id: I530d0b714ea0743c72eacd07b390c3f8cc556e21 Reviewed-on: https://go-review.googlesource.com/17239 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
de531fc255
commit
a0233fdbda
@ -136,7 +136,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 path, Split returns an empty dir and
|
||||
// If there is no slash in path, Split returns an empty dir and
|
||||
// file set to path.
|
||||
// The returned values have the property that path = dir+file.
|
||||
func Split(path string) (dir, file string) {
|
||||
|
Loading…
Reference in New Issue
Block a user