diff options
Diffstat (limited to 'src/path/filepath/path_unix.go')
-rw-r--r-- | src/path/filepath/path_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/filepath/path_unix.go b/src/path/filepath/path_unix.go index 008b76e19e..d241d78fa7 100644 --- a/src/path/filepath/path_unix.go +++ b/src/path/filepath/path_unix.go @@ -8,7 +8,7 @@ package filepath import "strings" -// IsAbs returns true if the path is absolute. +// IsAbs reports whether the path is absolute. func IsAbs(path string) bool { return strings.HasPrefix(path, "/") } |