build: resolve 8.3 filename format to long one on Windows

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-01-25 11:58:47 +01:00
committed by CrazyMax
parent eabbee797b
commit fb2c62a038
9 changed files with 57 additions and 11 deletions

9
build/git_unix.go Normal file
View File

@@ -0,0 +1,9 @@
//go:build !windows
// +build !windows
package build
// getLongPathName is a no-op on non-Windows platforms.
func getLongPathName(path string) (string, error) {
return path, nil
}