aboutsummaryrefslogtreecommitdiff
path: root/src/path/filepath/path_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/filepath/path_plan9.go')
-rw-r--r--src/path/filepath/path_plan9.go19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/path/filepath/path_plan9.go b/src/path/filepath/path_plan9.go
index 453206aee3..0e5147b90b 100644
--- a/src/path/filepath/path_plan9.go
+++ b/src/path/filepath/path_plan9.go
@@ -4,22 +4,9 @@
package filepath
-import "strings"
-
-func isLocal(path string) bool {
- return unixIsLocal(path)
-}
-
-// IsAbs reports whether the path is absolute.
-func IsAbs(path string) bool {
- return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
-}
-
-// volumeNameLen returns length of the leading volume name on Windows.
-// It returns 0 elsewhere.
-func volumeNameLen(path string) int {
- return 0
-}
+import (
+ "strings"
+)
// HasPrefix exists for historical compatibility and should not be used.
//