mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-15 02:35:12 +08:00
branch_tier.cpp
This commit is contained in:
parent
f6aa1c71ce
commit
3c0d47df93
@ -27,18 +27,7 @@ namespace l
|
|||||||
fs::glob(pattern,&paths);
|
fs::glob(pattern,&paths);
|
||||||
|
|
||||||
auto table = v_;
|
auto table = v_;
|
||||||
|
branches_.resize(paths.size());
|
||||||
table["path"] = paths[0];
|
|
||||||
branches_.emplace_back(table);
|
|
||||||
|
|
||||||
table["path"] = paths[1];
|
|
||||||
branches_.emplace_back(table);
|
|
||||||
|
|
||||||
table["path"] = paths[2];
|
|
||||||
branches_.emplace_back(table);
|
|
||||||
|
|
||||||
pause();
|
|
||||||
|
|
||||||
for(auto &path : paths)
|
for(auto &path : paths)
|
||||||
{
|
{
|
||||||
table["path"] = path;
|
table["path"] = path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user