mergerfs/src/branch2.hpp

20 lines
202 B
C++
Raw Normal View History

2024-01-25 11:53:17 +08:00
#include "filesystem.hpp"
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 11:48:36 +08:00
};