From 2adc4e892704bb99f2d16c0c09777987cb6bed35 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 17 Feb 2015 15:44:42 -0800 Subject: 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 --- src/path/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path/path.go') diff --git a/src/path/path.go b/src/path/path.go index 98a6d52922..3f0828c44a 100644 --- a/src/path/path.go +++ b/src/path/path.go @@ -192,7 +192,7 @@ func Base(path string) string { return path } -// IsAbs returns true if the path is absolute. +// IsAbs reports whether the path is absolute. func IsAbs(path string) bool { return len(path) > 0 && path[0] == '/' } -- cgit v1.3