summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-17 16:06:30 +0200
committerGitHub <noreply@github.com>2021-08-17 16:06:30 +0200
commit913a7a63d5260e32ac992ff419f35992446ead0b (patch)
treebea80ca4ffdb33d612334868c5c6c9cb9ebb569d /doc/classes
parent3d673fac50e385e79112ad44ac5887875c5e1459 (diff)
parent0dde3e5b59741630547a3ac6685d1125ab207b91 (diff)
Merge pull request #51793 from KoBeWi/direnam
Fix renaming directories
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Directory.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Directory.xml b/doc/classes/Directory.xml
index 919960cc9f..e8e5a286b4 100644
--- a/doc/classes/Directory.xml
+++ b/doc/classes/Directory.xml
@@ -187,7 +187,7 @@
<argument index="0" name="from" type="String" />
<argument index="1" name="to" type="String" />
<description>
- Renames (move) the [code]from[/code] file to the [code]to[/code] destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten.
+ Renames (move) the [code]from[/code] file or directory to the [code]to[/code] destination. Both arguments should be paths to files or directories, either relative or absolute. If the destination file or directory exists and is not access-protected, it will be overwritten.
Returns one of the [enum Error] code constants ([code]OK[/code] on success).
</description>
</method>