]> Cypherpunks.ru repositories - gostls13.git/commit
path: minor changes to improve documentation for Join
authorEric Rutherford <erutherford@gmail.com>
Tue, 19 Nov 2019 02:35:33 +0000 (20:35 -0600)
committerRob Pike <r@golang.org>
Wed, 20 Nov 2019 20:51:13 +0000 (20:51 +0000)
commit9852b4b093163c3d7bc28a2917f90eb297bbaa2e
treea023e3a9626e4aef24c4780618f6f04fcf87e047
parentfbcfa6a532d4e7c555693b549a97adfa3d38aca4
path: minor changes to improve documentation for Join

Reworking the comments in path to call out how leading
empty elements are treated. Also updating filepath.Join
since it shared much of the wording from path.Join.

Updates #35655

Change-Id: I5b15c5d36e9d19831ed39e6bcc7f2fd6c1330033
Reviewed-on: https://go-review.googlesource.com/c/go/+/207797
Reviewed-by: Rob Pike <r@golang.org>
src/path/filepath/path.go
src/path/path.go