mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-12-12 20:33:40 +08:00
25 lines
387 B
C++
25 lines
387 B
C++
#pragma once
|
|
|
|
#include "branch2.hpp"
|
|
|
|
#include "toml.hpp"
|
|
|
|
#include <vector>
|
|
|
|
class BranchTier
|
|
{
|
|
public:
|
|
BranchTier();
|
|
BranchTier(toml::value const &);
|
|
|
|
public:
|
|
uint64_t min_free_space;
|
|
|
|
public:
|
|
std::vector<Branch2>::iterator begin() { return _branches.begin(); }
|
|
std::vector<Branch2>::iterator end() { return _branches.end(); }
|
|
|
|
private:
|
|
std::vector<Branch2> _branches;
|
|
};
|