mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
branches2.cpp
This commit is contained in:
parent
f2f6efd9af
commit
281c8eef63
2 changed files with 10 additions and 1 deletions
|
|
@ -19,6 +19,12 @@ Branches2::Branches2(toml::value const &v_)
|
|||
|
||||
for(auto const &tier : tiers.as_array())
|
||||
{
|
||||
bool enabled;
|
||||
|
||||
enabled = toml::find_or(tier,"enabled",false);
|
||||
if(!enabled)
|
||||
continue;
|
||||
|
||||
_branches.emplace_back(tier);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue