mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-28 20:59:39 +08:00
branches2.cpp
This commit is contained in:
parent
595fd8d538
commit
e769d94e00
@ -15,14 +15,6 @@ Branches2::Branches2(toml::value const &v_)
|
|||||||
|
|
||||||
for(auto const &tier : tiers.as_array())
|
for(auto const &tier : tiers.as_array())
|
||||||
{
|
{
|
||||||
auto const &branches = toml::find(tier,"branch");
|
_branches.emplace_back(tier);
|
||||||
|
|
||||||
for(auto const &branch : branches.as_array())
|
|
||||||
{
|
|
||||||
auto const &branch_table = branch.as_table();
|
|
||||||
|
|
||||||
std::string s = branch_table.at("type").as_string();
|
|
||||||
fmt::print("{}\n",s);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user