mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue