github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/pkg/system/path_unix.go (about)

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