#pragma once #include "branch2.hpp" #include "branch_tier.hpp" #include "toml.hpp" #include class Branches2 { public: Branches2(); Branches2(toml::value const &); public: uint64_t min_free_space; public: int clonepath(ghc::filesystem::path basepath, ghc::filesystem::path fusepath); public: std::vector::iterator begin() { return _branches.begin(); } std::vector::iterator end() { return _branches.end(); } std::vector::const_iterator begin() const { return _branches.begin(); } std::vector::const_iterator end() const { return _branches.end(); } private: std::vector _branches; };