userver: userver/fs/blocking/open_mode.hpp File Reference
Loading...
Searching...
No Matches
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
}