-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #9648 | use filepath.IsAbs instead of path.IsAbs #9651
fix #9648 | use filepath.IsAbs instead of path.IsAbs #9651
Conversation
need backport lable to 1.11.0 🗡️ |
I've killed a few builds to try to get this merged quicker. @jolheiser are you able to test that this fixes this on windows? |
@zeripath you killed the backport also 😄 Even if it doesn't fix the related issue, filepath has windows support compared to path. |
The issue with filepath is that it always changes / to \ which may or may not be correct. I would have used it originally but I wasn't sure if leveldb tolerated it. I assumed that IsAbs would work. It's annoying to be stuck in this half world. You never know when you have to use filepath or path. |
related: golang/go#1483
PS: this need a better title ... maby?