Is the file system case sensitive?
isFileSystemCaseSensitive(dir = ".")
TRUE on success;
FALSE on failure, with cause set.
Linux partitions in general are case sensitive by default. macOS APFS and HFS partitions still default to case insensitive. Windows partitions default to case insensitive.
This function checks for case sensitivity internally by creating (touching) two invisible files with names that only differ by case. If 2 files are detected, the file system is case sensitive.
koopa::is_file_system_case_sensitive shell function in koopa.
isFileSystemCaseSensitive()#>  FALSE #> Cause: '.' is not case sensitive.