diff options
author | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-18 16:48:27 +0100 |
---|---|---|
committer | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-18 16:48:27 +0100 |
commit | e09fec3373abcf836635dc33a95e9b9975058eb9 (patch) | |
tree | 216ee7d4503bef9297edf67de70cdde5dda51f3e /src/filesys.h | |
parent | f1bdc6b187836f9741ac0512a0f10414002c647d (diff) | |
download | minetest-e09fec3373abcf836635dc33a95e9b9975058eb9.tar.gz minetest-e09fec3373abcf836635dc33a95e9b9975058eb9.tar.bz2 minetest-e09fec3373abcf836635dc33a95e9b9975058eb9.zip |
New map directory structure that avoids map size being limited by filesystem
Diffstat (limited to 'src/filesys.h')
-rw-r--r-- | src/filesys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h index 4dd90b84e..b74b34f3d 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -38,6 +38,9 @@ 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. |