Support for case sensitivity settings
See original GitHub issueHi! As you probably know, there are 2 options for case sensitivity:
- Windows use case sensitive paths,
- other systems like macOS or Linux use case insensitive paths
I checked how memfs
behave and it seems that it uses case sensitive approach:
const { fs } = require('memfs');
fs.writeFileSync('/my/Case/sensitive/Path.txt', 'content');
console.log(fs.readFileSync('/my/case/sensitive/path.txt'));
// logs undefined
// if I would use native fs on macOS or Linux, I would get "content" logged
// so it's kind of inconsistency between memfs and fs
It would be nice if:
- there would be an option to configure it
- the default behavior would be to use system settings
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Adjust case sensitivity - WSL - Microsoft Learn
Learn how case sensitive file names are handled between Windows and Linux file systems, how to adjust these settings by directory with WSL, ......
Read more >Case sensitivity (Reference) - Prisma
Options and recommendations for supporting case-insensitive filtering and sorting with Prisma Client depend on your database provider.
Read more >Understanding Password Case Sensitivity and Upgrades
For greater security, Oracle recommends that you leave case-sensitive password-based authentication enabled. This setting is the default. However, you can ...
Read more >How to Check Case-Sensitivity in SQL Server - Webucator
The way to determine if a database or database object is to check its "COLLATION" property and look for "CI" or "CS" in...
Read more >Oracle case-sensitivity - Amazon S3
You can set the Oracle database to the desired case-sensitivity when you create it. Refer to the HP Service Manager Installation Guide for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Turns out this is not that hard to implement. I opened #632 to make case sensitivity configurable.
Yes, I was wrong about Windows, but still, macOS is case-insensitive 😃
Yes, Implementing it just as a configuration option would be enough 👍