aboutsummaryrefslogtreecommitdiff
path: root/butl/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'butl/filesystem')
-rw-r--r--butl/filesystem6
1 files changed, 3 insertions, 3 deletions
diff --git a/butl/filesystem b/butl/filesystem
index 943a346..ab39f36 100644
--- a/butl/filesystem
+++ b/butl/filesystem
@@ -73,11 +73,11 @@ namespace butl
try_rmdir_r (const dir_path&, bool ignore_error = false);
// As above but throws rather than returns not_exist if the directory
- // does not exist, so check before calling. If the second argument is
- // false, the the directory itself is not removed.
+ // does not exist (unless ignore_error is true), so check before calling.
+ // If the second argument is false, then the directory itself is not removed.
//
void
- rmdir_r (const dir_path&, bool dir = true);
+ rmdir_r (const dir_path&, bool dir = true, bool ignore_error = false);
// Try to remove the file (or symlinks) returning not_exist if
// it does not exist. Unless ignore_error is true, all other