go/src/path/filepath
Erwin Oegema 683e2fd578 path/filepath: change example to print the correct path on failure
This change makes errors in the example code a bit better, as it's no use to show the root dir when an error occurs walking a subdirectory or file.

Change-Id: I546276e9b151fabba5357258f03bfbd47a508201
GitHub-Last-Rev: 398c1eeb61
GitHub-Pull-Request: golang/go#24536
Reviewed-on: https://go-review.googlesource.com/102535
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-03-26 17:40:01 +00:00
..
example_test.go path/filepath: add example for Ext 2017-08-25 16:24:37 +00:00
example_unix_test.go path/filepath: change example to print the correct path on failure 2018-03-26 17:40:01 +00:00
export_test.go
export_windows_test.go
match.go path/filepath: fix escaped chars in Glob on non-Windows 2018-02-14 11:47:59 +00:00
match_test.go path/filepath: fix escaped chars in Glob on non-Windows 2018-02-14 11:47:59 +00:00
path.go path/filepath: ensure Walk report unreadable directories once 2017-09-25 18:20:32 +00:00
path_plan9.go path/filepath: deprecate HasPrefix 2016-12-16 22:30:12 +00:00
path_test.go path/filepath: use a temp dir in path_test.go 2018-03-05 23:38:39 +00:00
path_unix.go path/filepath: deprecate HasPrefix 2016-12-16 22:30:12 +00:00
path_windows.go all: remove strings.Contains check around Replace 2017-09-12 08:58:28 +00:00
path_windows_test.go path/filepath: re-implement windows EvalSymlinks 2017-10-05 04:16:00 +00:00
symlink.go
symlink_unix.go
symlink_windows.go path/filepath: re-implement windows EvalSymlinks 2017-10-05 04:16:00 +00:00