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.
21 lines
369 B
21 lines
369 B
#include "branch_tier.hpp"
|
|
|
|
#include "fmt/core.h"
|
|
|
|
BranchTier::BranchTier()
|
|
{
|
|
|
|
}
|
|
|
|
BranchTier::BranchTier(toml::value const &v_)
|
|
{
|
|
auto const &branches = toml::find(v_,"branch").as_array();
|
|
|
|
for(auto const &branch : branches)
|
|
{
|
|
auto const &table = branch.as_table();
|
|
|
|
std::string s = table.at("type").as_string();
|
|
fmt::print("{}\n",s);
|
|
}
|
|
}
|