diff options
Diffstat (limited to 'src/path/filepath/path_unix.go')
-rw-r--r-- | src/path/filepath/path_unix.go | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/path/filepath/path_unix.go b/src/path/filepath/path_unix.go index 57e6217434..6bc974db3f 100644 --- a/src/path/filepath/path_unix.go +++ b/src/path/filepath/path_unix.go @@ -6,22 +6,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, "/") -} - -// 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. // |