aboutsummaryrefslogtreecommitdiff
path: root/common/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/fs.h')
-rw-r--r--common/fs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/fs.h b/common/fs.h
index 7041428fc8..e8c23f8486 100644
--- a/common/fs.h
+++ b/common/fs.h
@@ -239,6 +239,14 @@ public:
* @return true if the directory was created, false otherwise.
*/
bool createDirectory() const;
+
+ /**
+ * Creates a directory referred by this node. The parent directory
+ * will also be created if it doesn't exist.
+ *
+ * @return true if the directory was created, false otherwise.
+ */
+ bool createDirectoryRecursive() const;
};
/**