mergerfs/src/branches2.cpp

30 lines
416 B
C++
Raw Normal View History

2024-01-26 00:41:09 -06:00
#include "branches2.hpp"
2024-01-28 21:34:09 -06:00
#include "fmt/core.h"
2024-01-28 21:33:28 -06:00
2024-01-26 00:41:09 -06:00
#include <iostream>
Branches2::Branches2()
{
}
Branches2::Branches2(toml::value const &v_)
{
2024-01-27 00:49:38 -06:00
auto const &tiers = toml::find(v_,"tier");
2024-01-26 00:41:09 -06:00
2024-01-27 00:49:48 -06:00
for(auto const &tier : tiers.as_array())
2024-01-26 00:41:09 -06:00
{
2024-01-28 22:44:03 -06:00
_branches.emplace_back(tier);
2024-01-26 00:41:09 -06:00
}
}
2024-02-04 22:20:26 -06:00
int
Branches2::clonepath(ghc::filesystem::path basepath_,
ghc::filesystem::path relpath_)
{
return 0;
}