generated from cockpit-project/starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn about existing files when renaming or creating a directory
This slightly improves the situation where one can rename an existing file but there is still an obvious race. The validation only happens when one changes the input, if you touch something via for example an ssh session you will still overwrite the file. For that we can't use `--no-clobber` as that does not fail with an informative error.
- Loading branch information
Showing
2 changed files
with
17 additions
and
8 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