diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-26 00:40:33 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-26 00:40:33 +0200 |
commit | 035345f13d2da9eced87a426a671d3bc4df392b5 (patch) | |
tree | 2dc97552164a7bcfab6359fbb9af6caf9652a827 /src/filesys.h | |
parent | d3a6a12baea7317f6765ae7541cbc453f83d7928 (diff) | |
download | minetest-035345f13d2da9eced87a426a671d3bc4df392b5.tar.gz minetest-035345f13d2da9eced87a426a671d3bc4df392b5.tar.bz2 minetest-035345f13d2da9eced87a426a671d3bc4df392b5.zip |
Map deletion button
Diffstat (limited to 'src/filesys.h')
-rw-r--r-- | src/filesys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h index 6dbc426a5..e46b17b0d 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -40,6 +40,12 @@ bool CreateDir(std::string path); bool PathExists(std::string path); +// Only pass full paths to this one. True on success. +bool RecursiveDelete(std::string path); + +// Only pass full paths to this one. True on success. +bool RecursiveDeleteContent(std::string path); + }//fs #endif |