File::rename

- Added a rename method to permit safe file writes.
This commit is contained in:
Paul Beckingham 2012-10-03 22:13:47 -04:00
parent d2f267a7da
commit 9fe9f96f8f
3 changed files with 36 additions and 1 deletions

View file

@ -54,6 +54,7 @@ public:
bool readable () const;
bool writable () const;
bool executable () const;
bool rename (const std::string&);
// Statics
static std::string expand (const std::string&);