popcar2@programming.dev to Programmer Humor@programming.devEnglish · 3 months agoS&Box went open-source and the comments are very calmprogramming.devimagemessage-square59linkfedilinkarrow-up1629arrow-down14file-text
arrow-up1625arrow-down1imageS&Box went open-source and the comments are very calmprogramming.devpopcar2@programming.dev to Programmer Humor@programming.devEnglish · 3 months agomessage-square59linkfedilinkfile-text
minus-squarepet the cat, walk the dog@lemmy.worldlinkfedilinkarrow-up7·3 months agoApple’s filesystems in fact have an option for case-sensitivity.
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkarrow-up3·3 months agoThere are StringComparison options to pass that allow you to ignore case sensitivity when comparing. No need for ToLower.
minus-squareHolla@feddit.orglinkfedilinkarrow-up2·3 months agoapfs is by default case-insensitiv, for some reason, so the paths would still be the same. It apparently even causes issues with some installers when macos runs on apfs(case-sensitive)
ToLower()to compare paths 🤮it’s valid on macos tho…
Apple’s filesystems in fact have an option for case-sensitivity.
There are StringComparison options to pass that allow you to ignore case sensitivity when comparing. No need for ToLower.
Then they’re not the same path…
apfs is by default case-insensitiv, for some reason, so the paths would still be the same. It apparently even causes issues with some installers when macos runs on apfs(case-sensitive)