mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
284 B
20 lines
284 B
#include "branches2.hpp"
|
|
|
|
#include "fmt/core.h"
|
|
|
|
#include <iostream>
|
|
|
|
Branches2::Branches2()
|
|
{
|
|
|
|
}
|
|
|
|
Branches2::Branches2(toml::value const &v_)
|
|
{
|
|
auto const &tiers = toml::find(v_,"tier");
|
|
|
|
for(auto const &tier : tiers.as_array())
|
|
{
|
|
_branches.emplace_back(tier);
|
|
}
|
|
}
|