stumbling towards correctness
[feisty_meow.git] / nucleus / library / filesystem / huge_file.h
index 69a10347718fdb719de0039e52de2e7c7e211de6..2534f97ac23a2c480e0724c286967fa4b7527d77 100644 (file)
@@ -50,6 +50,9 @@ public:
     BAD_INPUT = basis::common::BAD_INPUT
   };
 
+  const basis::astring &name() const;
+    //!< returns the name of the file this operates on.
+
   bool good() const;
     //!< reports if the file was opened successfully.
 
@@ -83,6 +86,9 @@ public:
   bool truncate();
     //!< truncates the file after the current position.
 
+  basis::outcome touch();
+    //<! creates the file if it doesn't exist, or updates the time on the file.
+
   void flush();
     //!< forces any pending writes to actually be saved to the file.