summaryrefslogtreecommitdiff
path: root/src/pkg/path/filepath/path_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/path/filepath/path_plan9.go')
-rw-r--r--src/pkg/path/filepath/path_plan9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/filepath/path_plan9.go b/src/pkg/path/filepath/path_plan9.go
index 17b873f1a..cf028a75c 100644
--- a/src/pkg/path/filepath/path_plan9.go
+++ b/src/pkg/path/filepath/path_plan9.go
@@ -17,7 +17,7 @@ func VolumeName(path string) string {
return ""
}
-// HasPrefix tests whether the path p begins with prefix.
+// HasPrefix exists for historical compatibility and should not be used.
func HasPrefix(p, prefix string) bool {
return strings.HasPrefix(p, prefix)
}