1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:11:22 -06:00
go/src/pkg/path/filepath
Gustavo Niemeyer 463f478dbb filepath: Abs must always return a clean path
When I was first coding Abs, I wondered if people wouldn't
expect the path to be consistently clean, even if the path
passed in was already absolute.

CL 4524078 has a potential problem based on exactly that
assumption, so it feels like this behavior is indeed the
most useful and least surprising.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4548074
2011-05-30 22:28:59 -03:00
..
Makefile path/filepath: add support for plan9 2011-04-03 09:11:41 -07:00
match_test.go path/filepath.Glob: add an error return. 2011-04-04 13:09:34 -07:00
match.go os: New Open API. 2011-04-04 23:42:14 -07:00
path_plan9.go os: fix os.MkdirAll with backslash path separator. 2011-05-29 13:03:49 +10:00
path_test.go filepath: Abs must always return a clean path 2011-05-30 22:28:59 -03:00
path_unix.go os: fix os.MkdirAll with backslash path separator. 2011-05-29 13:03:49 +10:00
path_windows.go os: fix os.MkdirAll with backslash path separator. 2011-05-29 13:03:49 +10:00
path.go filepath: Abs must always return a clean path 2011-05-30 22:28:59 -03:00