-
-
Notifications
You must be signed in to change notification settings - Fork 957
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: [DirectoryWatcher] - Folders are case sensitive on Linux #2363
Conversation
8c2b2a8
to
e9bd67d
Compare
Wouldn't it make sense to remove the |
would break/not work on other parts that have path comparisons |
That example would not break on windows afaict though, on linux it may if you have two directory whose name differs only in character casing. What would break on windows is string comparison without |
on linux it needs a ordinal comparison, on windows it doesnt matter |
What, then, do you finally suggest? I would like to avoid regression thus I added a IsLinux condition to not break anything |
Okay, probably best to leave this for later, can you add a small comment above those lines mentioning that it might be safe to remove that check but to investigate that further on windows ? |
9caae8c
to
1ee684d
Compare
Yeah, taking small steps 😅 Alright , I've added a TODO comment as you suggested. |
Thanks ! |
PR Details
For some reason Path is transformed to lowercase, but on Linux distros it causes a runtime error - "The directory name .... does not exist" during game runtime.
Types of changes
Checklist