check-scalar-isFileSystemCaseSensitive: Is the file system case sensitive?

check-scalar-isFileSystemCaseSensitiveR Documentation

Is the file system case sensitive?

Description

Is the file system case sensitive?

Usage

isFileSystemCaseSensitive(dir = getwd())

Arguments

dir

character(1). Directory path.

Details

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.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2020-07-08.

See Also

koopa::is_file_system_case_sensitive shell function in koopa.

Examples

isFileSystemCaseSensitive()

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.