projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated readme
[feisty_meow.git]
/
nucleus
/
library
/
filesystem
/
huge_file.h
diff --git
a/nucleus/library/filesystem/huge_file.h
b/nucleus/library/filesystem/huge_file.h
index 69a10347718fdb719de0039e52de2e7c7e211de6..2534f97ac23a2c480e0724c286967fa4b7527d77 100644
(file)
--- a/
nucleus/library/filesystem/huge_file.h
+++ b/
nucleus/library/filesystem/huge_file.h
@@
-50,6
+50,9
@@
public:
BAD_INPUT = basis::common::BAD_INPUT
};
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.
bool good() const;
//!< reports if the file was opened successfully.
@@
-83,6
+86,9
@@
public:
bool truncate();
//!< truncates the file after the current position.
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.
void flush();
//!< forces any pending writes to actually be saved to the file.