diff --git a/reference/filesystem/functions/rename.xml b/reference/filesystem/functions/rename.xml index 66a410bd26..88b9711dfe 100644 --- a/reference/filesystem/functions/rename.xml +++ b/reference/filesystem/functions/rename.xml @@ -17,7 +17,10 @@ Attempts to rename oldname to newname, moving it between directories if necessary. - If newname exists, it will be overwritten. + If renaming a file and newname exists, + it will be overwritten. If renaming a directory and + newname exists, + this function will emit a warning.