mergerfs/src/branch2.hpp

21 lines
236 B
C++
Raw Normal View History

2024-01-25 11:53:35 +08:00
#include "ghc/filesystem.hpp"
2024-01-25 11:53:17 +08:00
2024-01-25 11:52:51 +08:00
#include <stdint.h>
2024-01-25 11:48:36 +08:00
class Branch2
{
public:
2024-01-25 11:49:02 +08:00
enum class Mode
2024-01-25 11:48:36 +08:00
{
RO,
RW,
NC
};
public:
bool enabled;
2024-01-25 11:49:25 +08:00
Mode mode;
2024-01-25 11:52:51 +08:00
uint64_t min_free_space;
2024-01-25 12:04:13 +08:00
ghc::filesystem::path path;
2024-01-25 11:48:36 +08:00
};