diff options
Diffstat (limited to 'common/fs.h')
-rw-r--r-- | common/fs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/fs.h b/common/fs.h index 6ff5c6eb8d..7041428fc8 100644 --- a/common/fs.h +++ b/common/fs.h @@ -230,6 +230,15 @@ public: * @return pointer to the stream object, 0 in case of a failure */ WriteStream *createWriteStream() const; + + /** + * Creates a directory referred by this node. This assumes that this + * node refers to non-existing directory. If this is not the case, + * false is returned. + * + * @return true if the directory was created, false otherwise. + */ + bool createDirectory() const; }; /** |