userver: userver/fs/blocking/open_mode.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
open_mode.hpp File Reference

Detailed Description

A set of OpenFlags.

Definition in file open_mode.hpp.

Go to the source code of this file.

+ Include dependency graph for open_mode.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  fs
 filesystem support
 
namespace  fs::blocking
 blocking function and classes to work with filesystem
 

Typedefs

using fs::blocking::OpenMode = utils::Flags<OpenFlag>
 A set of OpenFlags.
 

Enumerations

enum class  fs::blocking::OpenFlag {
  kNone = 0 ,
  fs::blocking::kRead = 1 << 0 ,
  fs::blocking::kWrite = 1 << 1 ,
  fs::blocking::kCreateIfNotExists = 1 << 2 ,
  fs::blocking::kExclusiveCreate = 1 << 3 ,
  fs::blocking::kTruncate = 1 << 4 ,
  fs::blocking::kAppend = 1 << 5
}