aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utility/file.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utility/file.hpp b/src/utility/file.hpp
index bf729a31..941018e1 100644
--- a/src/utility/file.hpp
+++ b/src/utility/file.hpp
@@ -101,6 +101,7 @@ public:
/** Create the file pointed by this file object.
+ *
* @throw exceptions::filesystem_exception if an error occurs
*/
virtual void createFile() = 0;
@@ -169,6 +170,8 @@ public:
virtual void rename(const path& newName) = 0;
/** Deletes this file/directory.
+ * If this is a directory, it must be empty.
+ *
* @throw exceptions::filesystem_exception if an error occurs
*/
virtual void remove() = 0;