utils_unix_test.go 299 B

1234567891011
  1. //go:build !windows
  2. // +build !windows
  3. package main
  4. // getLongPathName converts Windows short pathnames to full pathnames.
  5. // For example C:\Users\ADMIN~1 --> C:\Users\Administrator.
  6. // It is a no-op on non-Windows platforms
  7. func getLongPathName(path string) (string, error) {
  8. return path, nil
  9. }