diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-02-02 19:20:10 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-02-02 19:20:10 +0600 |
commit | f6b50d23872302b8e3129bd169201463d326e6fd (patch) | |
tree | 8a2a2e84c9ad16eb3c3d2513508b0c3403ca49a2 /src/fs | |
parent | a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab (diff) | |
download | mpd-f6b50d23872302b8e3129bd169201463d326e6fd.tar.gz mpd-f6b50d23872302b8e3129bd169201463d326e6fd.tar.xz mpd-f6b50d23872302b8e3129bd169201463d326e6fd.zip |
FileSystem.hxx: add FOpen modes for appending files
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/FileSystem.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx index 93365ecb4..2e1701c87 100644 --- a/src/fs/FileSystem.hxx +++ b/src/fs/FileSystem.hxx @@ -50,6 +50,16 @@ constexpr Path::const_pointer WriteText = "w"; * Open mode for writing binary files. */ constexpr Path::const_pointer WriteBinary = "wb"; + +/** + * Open mode for appending text files. + */ +constexpr Path::const_pointer AppendText = "a"; + +/** + * Open mode for appending binary files. + */ +constexpr Path::const_pointer AppendBinary = "ab"; } /** |