mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
branch_tier.cpp
This commit is contained in:
parent
0b882c75a6
commit
fa1d57cdf3
2 changed files with 2 additions and 1 deletions
|
|
@ -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' ?
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue