Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global setting for disabling file name and file path case sensitivity #47

Open
grahamboree opened this issue Dec 8, 2022 · 0 comments
Labels
📈enhancement A useful improvement or extension to existing behavior

Comments

@grahamboree
Copy link
Contributor

Switching between case-sensitive and case-insensitive operating systems can be a pain point. e.g. something like Configs.ParseFile("myFile.yaml") will work with a file named MyFile.yaml on case insensitive file systems but not on a case-sensitive one.

This can make certain errors only appear in production or when running on other systems.

There should be a global setting that controls case-sensitivity in filename and file path searching that defaults to true:

Configs.Settings.CaseInsensitiveFilenames = true;

And any file name or path manipulation in FileManager should respect this setting.

@grahamboree grahamboree added the 📈enhancement A useful improvement or extension to existing behavior label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📈enhancement A useful improvement or extension to existing behavior
Projects
None yet
Development

No branches or pull requests

1 participant