github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/integration-cli/utils_unix_test.go (about)

     1  //go:build !windows
     2  
     3  package main
     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  }