Merge remote-tracking branch 'speedprog/banByIp'
[oweals/minetest.git] / src / filesys.h
index 6dbc426a5494454a075047300808e77071eb86b7..b74b34f3da6cc41f272959ca06fa44552b65f29c 100644 (file)
@@ -38,8 +38,18 @@ std::vector<DirListNode> GetDirListing(std::string path);
 // Returns true if already exists
 bool CreateDir(std::string path);
 
+// Create all directories on the given path that don't already exist.
+bool CreateAllDirs(std::string path);
+
 bool PathExists(std::string path);
 
+// Only pass full paths to this one. True on success.
+// NOTE: The WIN32 version returns always true.
+bool RecursiveDelete(std::string path);
+
+// Only pass full paths to this one. True on success.
+bool RecursiveDeleteContent(std::string path);
+
 }//fs
 
 #endif