summaryrefslogtreecommitdiff
path: root/apps/plugins/disktidy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/disktidy.c')
-rw-r--r--apps/plugins/disktidy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c
index a85e8274c0..141773aa17 100644
--- a/apps/plugins/disktidy.c
+++ b/apps/plugins/disktidy.c
@@ -228,7 +228,10 @@ void tidy_path_remove_entry(char *path, int old_path_length, int *path_length)
*path_length = old_path_length;
}
-/* path is assumed to be array of size MAX_PATH */
+/* Removes the directory specified by 'path'. This includes recursively
+ removing all files and directories in that directory.
+ path is assumed to be array of size MAX_PATH.
+*/
enum tidy_return tidy_removedir(char *path, int *path_length)
{
/* delete directory */