Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
f4acaa8e
Commit
f4acaa8e
authored
Jul 13, 2011
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filepath/path: fix a comment
R=bradfitz CC=golang-dev
https://golang.org/cl/4704047
parent
469e3331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pkg/path/filepath/path.go
src/pkg/path/filepath/path.go
+2
-2
No files found.
src/pkg/path/filepath/path.go
View file @
f4acaa8e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment