-
Notifications
You must be signed in to change notification settings - Fork 13
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
Remove filepath.Walk while opening file #152
Comments
Hi, We use filepath.Walk because we have use cases where files may have the same name but differ in case sensitivity. To ensure we correctly locate these files, we first scan the directory structure. If you are encountering a specific problem with this approach, please let us know so we can investigate further. |
Here is example of project structure:
The problem is when I load |
Thank you for your suggestion. I understand that this approach may lead to unintended behavior in such scenarios. I appreciate your feedback and will work on improving the file handling accordingly. |
Is your feature request related to a problem? Please describe.
I have directory hierarchy with files have same name, why file opening performs with
filepath.Walk
?Describe the solution you'd like
Remove file tree walking https://github.com/Valentin-Kaiser/go-dbase/blob/main/dbase/io_generic.go#L642
The text was updated successfully, but these errors were encountered: