Browse Source

recursive rm;

bjorn 4 years ago
parent
commit
340832ef8a
2 changed files with 429 additions and 3003 deletions
  1. 424 3002
      api/init.lua
  2. 5 1
      api/lovr/filesystem/remove.lua

File diff suppressed because it is too large
+ 424 - 3002
api/init.lua


+ 5 - 1
api/lovr/filesystem/remove.lua

@@ -15,5 +15,9 @@ return {
       description = 'Whether the path was removed.'
     }
   },
-  notes = 'A directory can only be removed if it is empty.'
+  notes = [[
+    A directory can only be removed if it is empty.
+
+    To recursively remove a folder, use this function with `lovr.filesystem.getDirectoryItems`.
+  ]]
 }

Some files were not shown because too many files changed in this diff