mergerfs/src/branch_tier.hpp
Antonio SJ Musumeci 5772342f7a branch_tier.hpp
2024-02-03 19:49:48 -06:00

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;
};