This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Paths on Windows should be compared case-insensitive #675
Closed
Description
PS C:\Users\kjk\src\go\src\github.com\kjk\kjktools.org> gci Env:\GOPATH
Name Value
---- -----
GOPATH c:\Users\kjk\src\go
PS C:\Users\kjk\src\go\src\github.com\kjk\kjktools.org> dep ensure
project not in a GOPATH
Notice that the project is in GOPATH
except GOPATH
is c:\...
and filesystem path is C:\...
.
I fixed it by changing GOPATH
to match fs name, but:
- this might happen to other people who might have less luck figuring this out
- I assume there might be other scenarios where it breaks
OSX is also case-insensitive by default although might be formatted with case-sensitive version of hfs.