summaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h3
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.