-
Notifications
You must be signed in to change notification settings - Fork 342
[IncludeTreeFileSystem] Make dir_begin() work as expected in OverlayFileSystem #8675
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
[IncludeTreeFileSystem] Make dir_begin() work as expected in OverlayFileSystem #8675
Conversation
@swift-ci please test |
@swift-ci please test macOS platform |
Could you clarify a bit, what is the "swift overlay yaml file" and how is it setup, it's not reading the file system right? Also were you really intending to merge on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add a unit test for this.
@akyrtzi this is still the branch that swift |
Ok, thanks for letting me know! But I'd expect a PR on |
This is not about the vfs overlay from yaml file. It is creating a OverlayFileSystem using two different file systems. For example, if you overlay include tree file system on top of real file system,
Unit test is a bit tricky as the only way to create it is from clang dependency scanner. Let me see if I can do something about it. |
…ileSystem Make `dir_begin()` in IncludeTreeFileSystem to return no_such_file_or_directory instead of operation_not_permitted. This allows OverlayFileSystem to correctly ignore IncludeTreeFileSystem layer and continue to search the layer below. rdar://127370903
27333e0
to
971f305
Compare
@swift-ci please test |
@swift-ci please test windows platform |
Make
dir_begin()
in IncludeTreeFileSystem to return no_such_file_or_directory instead of operation_not_permitted. This allows OverlayFileSystem to correctly ignore IncludeTreeFileSystem layer and continue to search the layer below.rdar://127370903