22 lines
343 B
Go
22 lines
343 B
Go
|
// +build windows
|
||
|
|
||
|
package fs
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func fixRootDirectory(p string) string {
|
||
|
if len(p) == len(`\\?\c:`) {
|
||
|
if os.IsPathSeparator(p[0]) && os.IsPathSeparator(p[1]) && p[2] == '?' && os.IsPathSeparator(p[3]) && p[5] == ':' {
|
||
|
return p + `\`
|
||
|
}
|
||
|
}
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func Utimes(p string, tm *time.Time) error {
|
||
|
return nil
|
||
|
}
|