diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-08-10 20:34:11 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-08-10 20:34:11 +0200 |
commit | 806d0936dc94f235858ffe1772a6215f86c5d000 (patch) | |
tree | 38a84d8de02dc7da20af969f88c722abbea13300 /src/OSSupport/File.h | |
parent | Merge pull request #1291 from mc-server/RedstoneCleanUp (diff) | |
download | cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.gz cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.bz2 cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.lz cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.xz cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.zst cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/File.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OSSupport/File.h b/src/OSSupport/File.h index 2a7ecf0ed..8891511c4 100644 --- a/src/OSSupport/File.h +++ b/src/OSSupport/File.h @@ -62,7 +62,8 @@ public: { fmRead, // Read-only. If the file doesn't exist, object will not be valid fmWrite, // Write-only. If the file already exists, it will be overwritten - fmReadWrite // Read/write. If the file already exists, it will be left intact; writing will overwrite the data from the beginning + fmReadWrite, // Read/write. If the file already exists, it will be left intact; writing will overwrite the data from the beginning + fmAppend // Write-only. If the file already exists cursor will be moved to the end of the file } ; /** Simple constructor - creates an unopened file object, use Open() to open / create a real file */ |