diff options
Diffstat (limited to 'src/path/filepath/path_plan9.go')
| -rw-r--r-- | src/path/filepath/path_plan9.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/filepath/path_plan9.go b/src/path/filepath/path_plan9.go index da5f5fdac7..962774efd5 100644 --- a/src/path/filepath/path_plan9.go +++ b/src/path/filepath/path_plan9.go @@ -6,7 +6,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, "/") || strings.HasPrefix(path, "#") } |
