-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WindowsFileSystem: open files with delete-sharing
Open files using `Files.new{Input,Output}Stream` instead of `new File{Input,Output}Stream`. The new method opens files with deletion sharing, the old one does not. This patch will hopefully fix the class of errors where Bazel fails to delete a file that's already open. Change-Id: I1a841ea6ba644ac09dde4838007ba1ecab46defb Closes #6092. Change-Id: I1a841ea6ba644ac09dde4838007ba1ecab46defb PiperOrigin-RevId: 211976021
- Loading branch information
1 parent
e6709cc
commit 1a95502
Showing
4 changed files
with
196 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters