]> Cypherpunks repositories - gostls13.git/commit
path, path/filepath: add Join example with joined rooted path
authorRuss Cox <rsc@golang.org>
Tue, 15 Mar 2016 00:23:22 +0000 (20:23 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 3 Apr 2016 16:55:51 +0000 (16:55 +0000)
commit1f7e55e418659dc3b5fe66792b85807a7065144f
tree016dbff6c4e44f99de5b5306c92ba56e48306666
parent29a6149e67a9c382938ffb40102fb989a0a6db48
path, path/filepath: add Join example with joined rooted path

This makes clear that Go's path.Join and filepath.Join are different
from the Python os.path.join (and perhaps others).

Requested in private mail.

Change-Id: Ie5dfad8a57f9baa5cca31246af1fd4dd5b1a64ee
Reviewed-on: https://go-review.googlesource.com/20711
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/path/example_test.go
src/path/filepath/example_unix_test.go