file(RENAME): Add option to not replace existing path

Add a `NO_REPLACE` option that prevents overwriting `<newname>`
if it exists.
This commit is contained in:
Brad King
2021-03-04 08:13:16 -05:00
parent 3600c6cd8c
commit 9bf40d8027
10 changed files with 64 additions and 5 deletions
+2 -1
View File
@@ -2,4 +2,5 @@ file-RENAME
-----------
* The :command:`file(RENAME)` command learned to optionally capture
failure in a result variable.
failure in a result variable. It also gained a ``NO_REPLACE``
option to fail if the destination exists.