aboutsummaryrefslogtreecommitdiff
path: root/src/path/filepath/path_windows.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-02-17 15:44:42 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2015-03-18 15:14:06 +0000
commit2adc4e892704bb99f2d16c0c09777987cb6bed35 (patch)
tree4e61f69a0e448b82df4e1c7c8c621f397298e7b9 /src/path/filepath/path_windows.go
parentfcb895feef1c9214f9cb633b5a0fa4dc8f46af9e (diff)
downloadgo-2adc4e892704bb99f2d16c0c09777987cb6bed35.tar.xz
all: use "reports whether" in place of "returns true if(f)"
Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/path/filepath/path_windows.go')
-rw-r--r--src/path/filepath/path_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path/filepath/path_windows.go b/src/path/filepath/path_windows.go
index d6ed3d142d..bcfe0a34b0 100644
--- a/src/path/filepath/path_windows.go
+++ b/src/path/filepath/path_windows.go
@@ -13,7 +13,7 @@ func isSlash(c uint8) bool {
return c == '\\' || c == '/'
}
-// IsAbs returns true if the path is absolute.
+// IsAbs reports whether the path is absolute.
func IsAbs(path string) (b bool) {
l := volumeNameLen(path)
if l == 0 {
@@ -141,7 +141,7 @@ func joinNonEmpty(elem []string) string {
return head + string(Separator) + tail
}
-// isUNC returns true if path is a UNC path.
+// isUNC reports whether path is a UNC path.
func isUNC(path string) bool {
return volumeNameLen(path) > 2
}