Uh oh!
There was an error while loading. Please reload this page.
FileSystemEntry.Unix: ensure properties are available when file is deleted. - #60214
Conversation
…leted. When the file no longer exists, we create attributes based on what we know. The test for this was passing because it cached the attributes before the item was deleted due to enumerating with skipping FileAttributes.Hidden.
ghost
commented
Oct 9, 2021
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsWhen the file no longer exists, we create attributes based on what we know. The test for this was passing because it cached the attributes before the @carlossanlop ptal.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tmds
commented
Oct 9, 2021
I'll extend the tests so it covers more of the changes. |
tmds
commented
Oct 12, 2021
This is up for review. |
tmds
commented
Oct 26, 2021
@carlossanlop ptal. This fixes a bug in how |
tmds
commented
Nov 9, 2021
@dotnet/area-system-io @stephentoub ptal. |
tmds
commented
Nov 15, 2021
@jeffhandley@carlossanlop@jozkee@adamsitnik can you make some time to review the PRs I've created for System.IO: https://github.com/dotnet/runtime/pulls?q=is%3Aopen+is%3Apr+author%3Atmds+label%3Aarea-System.IO. |
adamsitnik
left a comment
There was a problem hiding this comment.
Overall LGTM, but it would be great if @carlossanlop or @jozkee could review the FileSystemEntry changes.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tmds
commented
Nov 17, 2021
I'll look at addressing the feedback tomorrow. |
carlossanlop
left a comment
There was a problem hiding this comment.
LGTM so far, only 3 things left to address:
- Remove the
AssertExtensions.EqualsTocode. - Please open an issue to describe the two bugs being fixed by this PR.
- In particular, the second bug, which you mentioned in a comment in line 333 of FileStatus.Unix.cs, I'm not sure how you caught that, or if it needs a unit test to verify the change worked. Would you mind elaborating? Normally we expect to have an issue open first, where the bug is described and discussed.
Thanks for sending the PR, and apologies for the delay.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tmds
commented
Nov 18, 2021
@carlossanlop I've created #61764 to described the issues that are fixed by this PR. |
tmds
commented
Nov 18, 2021
Thanks for the review @adamsitnik and @carlossanlop! |
When the file no longer exists, we create attributes based on what we know.
The test for this was passing because it cached the attributes before the
item was deleted due to enumerating with skipping FileAttributes.Hidden.
@carlossanlop ptal.