R/check-scalar-isFileSystemCaseSensitive.R
check-scalar-isFileSystemCaseSensitive.Rd
Is the file system case sensitive?
isFileSystemCaseSensitive(dir = ".")
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.
Updated 2019-10-21.
_koopa_is_file_system_case_sensitive
shell function in koopa.
isFileSystemCaseSensitive()#> [1] TRUE