-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
AggregateFileSystem can list duplicate entries #27
Comments
Really? Then that's a bug... I thought I covered originally this case... The code supposed to do this is there, maybe there is an obvious oversight: zio/src/Zio/FileSystems/AggregateFileSystem.cs Lines 359 to 374 in d087166
|
Sorry, it looks like this was just an issue on my end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If more than one filesystem has the same entry at a path the aggregate will list both. I don't consider this desirable because there would be no way to access the duplicate entries except through the original filesystem. Although it's possible and I'm sure someone will have a strange use for it this behavior is inconsistent with how normal file operations work on it.
The filesystem watcher is probably affected as well because it would need to check if a filesystem with higher priority also contains an entry for the path referenced by the event.
The text was updated successfully, but these errors were encountered: