- Notifications
You must be signed in to change notification settings - Fork5.2k
Enable FileStream length caching with FileShare.Delete#56465
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedJul 28, 2021
Tagging subscribers to this area: @dotnet/area-system-io Issue Details
|
stephentoub commentedJul 28, 2021
I must be missing it, but I don't see any changes related to FileShare.Delete...? |
pentp commentedJul 28, 2021
Previously the check was |
adamsitnik 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.
Overall LGTM, but it would be great to rename the field before we hit the merge button.
@pentp thank you!
src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
adamsitnik 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, thank you@pentp !
ghost commentedJul 29, 2021
Hello@adamsitnik! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me ( |
FileShare.Deletedoesn't allow file length to change.Also cleaned up the
shareparameter from handle based strategy constructors.