]> Cypherpunks repositories - gostls13.git/commit
path/filepath: clarify the package doc about '/' in returned results.
authorHyang-Ah (Hana) Kim <hyangah@gmail.com>
Tue, 10 Mar 2015 16:31:33 +0000 (12:31 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 11 Mar 2015 20:25:35 +0000 (20:25 +0000)
commiteb96bb19927f2dea87a3c98bbe82f4984ebe30b4
treee2b115860ffdaf3d6fc4d99c9acc61589fc4ea19
parentcd5b144d9896c05169fea4ed6d3cad9267e3251d
path/filepath: clarify the package doc about '/' in returned results.

The slash is replaced with os.PathSeparator before returning.
Split, SplitList are the exceptions; comments for them mention this.

Fixes golang/go#10122.

Change-Id: I66dbee8d09f378582e046be8df309a3930151820
Reviewed-on: https://go-review.googlesource.com/7310
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
src/path/filepath/path.go