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>
This commit is contained in:
Josh Bleecher Snyder 2015-02-17 15:44:42 -08:00
parent fcb895feef
commit 2adc4e8927
47 changed files with 100 additions and 102 deletions

View file

@ -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] == '/'
}