mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 07:26:28 -05:00
24 lines
560 B
C++
24 lines
560 B
C++
#pragma once
|
|
|
|
#include "branch2.hpp"
|
|
|
|
#include "toml.hpp"
|
|
|
|
#include <vector>
|
|
|
|
class BranchTier
|
|
{
|
|
public:
|
|
BranchTier();
|
|
BranchTier(toml::value const &,
|
|
uint64_t const min_free_space = 0);
|
|
|
|
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;
|
|
};
|