diff options
author | breakneck <[email protected]> | 2022-02-10 16:47:58 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:58 +0300 |
commit | e2021f9a0e54d13b7c48796318b13b66dc625e74 (patch) | |
tree | 5aed1691033eaf399ab80a10a137238922035fa8 /util/system/file.h | |
parent | 83602b1b564b92a80a1526d113fa2846661dd10e (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/file.h')
-rw-r--r-- | util/system/file.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/file.h b/util/system/file.h index 9502e159b6f..268051cd8a5 100644 --- a/util/system/file.h +++ b/util/system/file.h @@ -3,13 +3,13 @@ #include "fhandle.h" #include "flock.h" -#include <util/generic/flags.h> +#include <util/generic/flags.h> #include <util/generic/ptr.h> #include <util/generic/noncopyable.h> #include <cstdio> -enum EOpenModeFlag { +enum EOpenModeFlag { OpenExisting = 0, // Opens a file. It fails if the file does not exist. TruncExisting = 1, // Opens a file and truncates it to zero size. It fails if the file does not exist. OpenAlways = 2, // Opens a file, always. If a file does not exist, it creates a file. @@ -49,9 +49,9 @@ enum EOpenModeFlag { AMask = 0x0FFF0000, }; -Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag) -Y_DECLARE_OPERATORS_FOR_FLAGS(EOpenMode) - +Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag) +Y_DECLARE_OPERATORS_FOR_FLAGS(EOpenMode) + TString DecodeOpenMode(ui32 openMode); enum SeekDir { |