When I on my Mac run
FileManager.default.fileExists(atPath: path)
the resulting check is case-insensitive. So filePath
will return the same as FiLePaTh
. I need it to do a case-sensitive check however. Is there any way of achieving this?
I am running this on macOS 12.3 on an APFS formatted volume.