Check file-system(fs) file name is case-sensitive or not.
isFileNameSensitive = require('fs-file-name-sensitive')
console.log(isFileNameSensitive('/path/to/check/'))
function isFileNameSensitive(aPath[, aOptions])
- arguments
aPath
(String): the path to check.aOptions
(Object):cache
(Boolean): whether cache the result of theaPath
. defaults to true.
- return (Boolean): whether the file name is sensitive or not in
aPath
.
MIT