popcar2@programming.dev to Programmer Humor@programming.devEnglish · 5 days agoS&Box went open-source and the comments are very calmprogramming.devimagemessage-square59linkfedilinkarrow-up1619arrow-down15file-text
arrow-up1614arrow-down1imageS&Box went open-source and the comments are very calmprogramming.devpopcar2@programming.dev to Programmer Humor@programming.devEnglish · 5 days agomessage-square59linkfedilinkfile-text
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up25arrow-down1·4 days agoToLower() to compare paths 🤮
minus-square[object Object]@lemmy.worldlinkfedilinkarrow-up7·4 days agoApple’s filesystems in fact have an option for case-sensitivity.
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkarrow-up3·3 days agoThere are StringComparison options to pass that allow you to ignore case sensitivity when comparing. No need for ToLower.
minus-squarewaldfee@feddit.orglinkfedilinkarrow-up2·3 days 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)