From ea87f834bee0ff200684f6d2d7d2b839abda3df8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 17 Dec 2004 16:17:06 +0000 Subject: [PATCH] Updated function doc. --- src/utility/file.hpp | 3 +++ 1 file changed, 3 insertions(+) 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;