version 1.26, 2008/12/02 09:02:08
|
version 1.26.8.2, 2013/06/03 22:36:27
|
|
|
*/ | */ |
static Boolean beginTransaction(const String& path); | static Boolean beginTransaction(const String& path); |
| |
|
/** In case of a failure in the beginTransaction(), undo the changes |
|
done in the begin transaction and restore the repository |
|
to the previous state. The current implementation removes the |
|
index file and copies the rollback file to the index file. |
|
*/ |
|
static void undoBeginTransaction(const String& path); |
|
|
/** Roll back any changes to the file since the last time | /** Roll back any changes to the file since the last time |
beginTransaction() was called. The current implementation deletes | beginTransaction() was called. The current implementation deletes |
the current file and renames the rollback file to the same name. | the current file and renames the rollback file to the same name. |