diff options
Diffstat (limited to 'src/path/filepath/match.go')
-rw-r--r-- | src/path/filepath/match.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path/filepath/match.go b/src/path/filepath/match.go index 12f0bfa7d3..67124796db 100644 --- a/src/path/filepath/match.go +++ b/src/path/filepath/match.go @@ -6,6 +6,7 @@ package filepath import ( "errors" + "internal/filepathlite" "os" "runtime" "sort" @@ -307,7 +308,7 @@ func cleanGlobPath(path string) string { // cleanGlobPathWindows is windows version of cleanGlobPath. func cleanGlobPathWindows(path string) (prefixLen int, cleaned string) { - vollen := volumeNameLen(path) + vollen := filepathlite.VolumeNameLen(path) switch { case path == "": return 0, "." |