-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass the `ATOMIC_MOVE` flag to signal that we want the final file renaming to be atomic if possible. Catch the exception that occurs when it's not supported on the OS or drive, and fall back to not using that flag.
- Loading branch information
1 parent
d3ce90c
commit e474888
Showing
1 changed file
with
14 additions
and
4 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