You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only Windows is considered case insensitive, but looks like MacOS is also case insensitive.
I very much recall I have seen code somewhere in dotnet org that tries to create a dummy file, and then calls File.Exists with different casing to determine whether the file system is case sensitive and handle some potential edge cases, but I can't recall where that is.
The text was updated successfully, but these errors were encountered:
On macOS, one can create a HFS file system as case-sensitive or case-insensitive. Not sure about APFS.
On Windows, individual directories in NTFS can be set as case-sensitive or case-insensitive; and the case folding table is stored in the file system so it might not match the version of Unicode in the operating system. Not sure about ReFS.
I very much recall I have seen code somewhere in dotnet org that tries to create a dummy file, and then calls File.Exists with different casing to determine whether the file system is case sensitive and handle some potential edge cases, but I can't recall where that is.
sdk/src/Cli/Microsoft.DotNet.Cli.Utils/PathUtility.cs
Lines 341 to 346 in 5ac3352
Only Windows is considered case insensitive, but looks like MacOS is also case insensitive.
I very much recall I have seen code somewhere in dotnet org that tries to create a dummy file, and then calls
File.Exists
with different casing to determine whether the file system is case sensitive and handle some potential edge cases, but I can't recall where that is.The text was updated successfully, but these errors were encountered: