github.com/docker/engine@v22.0.0-20211208180946-d456264580cf+incompatible/pkg/system/path_unix.go (about) 1 //go:build !windows 2 // +build !windows 3 4 package system // import "github.com/docker/docker/pkg/system" 5 6 // GetLongPathName converts Windows short pathnames to full pathnames. 7 // For example C:\Users\ADMIN~1 --> C:\Users\Administrator. 8 // It is a no-op on non-Windows platforms 9 func GetLongPathName(path string) (string, error) { 10 return path, nil 11 } 12 13 // checkSystemDriveAndRemoveDriveLetter is the non-Windows implementation 14 // of CheckSystemDriveAndRemoveDriveLetter 15 func checkSystemDriveAndRemoveDriveLetter(path string, driver PathVerifier) (string, error) { 16 return path, nil 17 }