aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/FileSystem.hxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-02-02 19:20:10 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-02-02 19:20:10 +0600
commitf6b50d23872302b8e3129bd169201463d326e6fd (patch)
tree8a2a2e84c9ad16eb3c3d2513508b0c3403ca49a2 /src/fs/FileSystem.hxx
parenta9ce0218c1879a752c9d9ec6ef21fcf44eab51ab (diff)
downloadmpd-f6b50d23872302b8e3129bd169201463d326e6fd.tar.gz
mpd-f6b50d23872302b8e3129bd169201463d326e6fd.tar.xz
mpd-f6b50d23872302b8e3129bd169201463d326e6fd.zip
FileSystem.hxx: add FOpen modes for appending files
Diffstat (limited to 'src/fs/FileSystem.hxx')
-rw-r--r--src/fs/FileSystem.hxx10
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";
}
/**