Skip to content

Commit

Permalink
Fix for fio.rmtree/copytree: work for non-empty dirs
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fc9de5)
  • Loading branch information
lenkis committed Jan 24, 2020
1 parent bd0853b commit 034361f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/reference/reference_lua/fio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ functions.
Copy everything in the from-path, including subdirectory
contents, to the to-path. The result is similar to the
result that one gets from the ``cp -r`` command.
The to-path should be empty.
The to-path should not be empty.

:param string from-path: path-name.
:param string to-path: path-name.
Expand Down Expand Up @@ -550,8 +550,8 @@ functions.

Remove the directory indicated by path-name, including subdirectories.
The result is similar to the
result that one gets from the ``rmdir`` command, recursively.
The directory must be empty.
result that one gets from the ``rmdir -r`` command.
The directory should not be empty.

:param string path-name: path-name.
:return: (If no error) true. |br|
Expand Down

0 comments on commit 034361f

Please sign in to comment.