mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
29 lines
399 B
C++
29 lines
399 B
C++
#pragma once
|
|
|
|
#include "ghc/filesystem.hpp"
|
|
#include "toml.hpp"
|
|
|
|
#include "enum.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
BETTER_ENUM(BranchMode,int,RO,RW,NC);
|
|
|
|
class Branch2
|
|
{
|
|
public:
|
|
typedef BranchMode Mode;
|
|
|
|
public:
|
|
Branch2();
|
|
Branch2(Branch2 const &);
|
|
Branch2(toml::value const &);
|
|
~Branch2();
|
|
|
|
public:
|
|
bool enabled;
|
|
Mode mode;
|
|
uint64_t min_free_space;
|
|
int fd;
|
|
ghc::filesystem::path path;
|
|
};
|