Closed Rohansi closed 6 years ago
If more than one filesystem has the same entry at a path the aggregate will list both.
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:
Sorry, it looks like this was just an issue on my end.
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.