mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
26 lines
549 B
C++
26 lines
549 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(); }
|
|
std::vector<Branch2>::const_iterator begin() const { return _branches.begin(); }
|
|
std::vector<Branch2>::const_iterator end() const { return _branches.end(); }
|
|
|
|
private:
|
|
std::vector<Branch2> _branches;
|
|
};
|