Add option to wait for branches to become new mounts

branches-mount-timeout=UINT64 in seconds (default: 0)
This commit is contained in:
Antonio SJ Musumeci 2022-12-30 18:03:13 -05:00
parent 2d8d0f7ad6
commit 939eb3996a
14 changed files with 3034 additions and 106 deletions

View file

@ -363,6 +363,17 @@ Branches::Impl::to_paths(StrVec &paths_) const
}
}
fs::PathVector
Branches::Impl::to_paths() const
{
fs::PathVector vp;
for(const auto &branch : *this)
vp.emplace_back(branch.path);
return vp;
}
int
Branches::from_string(const std::string &str_)
{