-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove validation to stat call for symlinks since is a breaking change #57551
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
Conversation
…e, subsequently remove the symlink cache logic as is no longer needed
|
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsSubsequently, remove the symlink cache logic as is no longer needed. cc @danmoseley
|
carlossanlop
left a comment
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.
LGTM. Thanks for investigating this.
| } | ||
| } | ||
|
|
||
| [Theory] |
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.
These tests were validating that we throw when a self-referencing symlink is found in the recursion, while that is true for windows, that wasn't the case for Unix in 5.0, and it was going to be a breaking change caused by the same validation that I'm removing, so I updated the tests to ensure what is expected matches with 5.0
carlossanlop
left a comment
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.
LGTM with the latest test updates.
|
CI issues are nuget erros and test failure is #57452. |
Subsequently, remove the symlink cache logic as is no longer needed.
Fixes #57221
cc @danmoseley