branch_tier.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-01-31 22:35:59 -06:00
parent 0b882c75a6
commit fa1d57cdf3
2 changed files with 2 additions and 1 deletions

View file

@ -100,7 +100,7 @@ path = '/mnt/branch1'
mode = 'RW'
[[branches.tier.branch]]
active = true
path = '/mnt/disk*'
path = '/mnt/*'
type = 'glob'
mode = 'RW'
if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ?

View file

@ -26,6 +26,7 @@ namespace l
pattern = v_.at("path").as_string();
fs::glob(pattern,&paths);
auto table = v_;
for(auto &path : paths)
fmt::print("path: {}\n",path);
}