mergerfs/src/branch_tier.hpp

25 lines
387 B
C++
Raw Normal View History

2024-01-29 12:45:38 +08:00
#pragma once
#include "branch2.hpp"
#include "toml.hpp"
#include <vector>
class BranchTier
{
public:
BranchTier();
BranchTier(toml::value const &);
public:
uint64_t min_free_space;
2024-02-04 09:49:48 +08:00
public:
std::vector<Branch2>::iterator begin() { return _branches.begin(); }
std::vector<Branch2>::iterator end() { return _branches.end(); }
2024-01-29 12:45:38 +08:00
private:
std::vector<Branch2> _branches;
};