]> Cypherpunks repositories - gostls13.git/commit
path/filepath: new OS-specific path support
authorGustavo Niemeyer <gustavo@niemeyer.net>
Sun, 6 Mar 2011 22:33:23 +0000 (17:33 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 6 Mar 2011 22:33:23 +0000 (17:33 -0500)
commit04ca4f824281bf0a17a5aaa5b1586978779b6200
treed5c4021a97c39e0e2019cdcb917da268daae149a
parentce65b7250805253367cce756e03cda7c7f77df43
path/filepath: new OS-specific path support

The path package now contains only functions which
deal with slashed paths, sensible for any OS when dealing
with network paths or URLs.  OS-specific functionality
has been moved into the new path/filepath package.

This also includes fixes for godoc, goinstall and other
packages which were mixing slashed and OS-specific paths.

R=rsc, gri, mattn, brainman
CC=golang-dev
https://golang.org/cl/4252044
33 files changed:
src/cmd/ebnflint/ebnflint.go
src/cmd/godoc/dirtrees.go
src/cmd/godoc/godoc.go
src/cmd/godoc/index.go
src/cmd/godoc/main.go
src/cmd/godoc/mapping.go
src/cmd/godoc/utils.go
src/cmd/gofmt/gofmt.go
src/cmd/goinstall/download.go
src/cmd/goinstall/main.go
src/cmd/goinstall/parse.go
src/cmd/govet/govet.go
src/cmd/hgpatch/main.go
src/pkg/Makefile
src/pkg/go/parser/interface.go
src/pkg/go/printer/printer.go
src/pkg/go/printer/printer_test.go
src/pkg/go/scanner/scanner.go
src/pkg/http/fs.go
src/pkg/io/ioutil/tempfile.go
src/pkg/path/Makefile
src/pkg/path/filepath/Makefile [new file with mode: 0644]
src/pkg/path/filepath/match.go [new file with mode: 0644]
src/pkg/path/filepath/match_test.go [new file with mode: 0644]
src/pkg/path/filepath/path.go [new file with mode: 0644]
src/pkg/path/filepath/path_test.go [new file with mode: 0644]
src/pkg/path/filepath/path_unix.go [new file with mode: 0644]
src/pkg/path/match.go
src/pkg/path/match_test.go
src/pkg/path/path.go
src/pkg/path/path_test.go
src/pkg/path/path_unix.go [deleted file]
src/pkg/path/path_windows.go [deleted file]