From fa1d57cdf3bf4f14514cd3720e8e500d28c3aad0 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 31 Jan 2024 22:35:59 -0600 Subject: [PATCH] branch_tier.cpp --- config.toml | 2 +- src/branch_tier.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 37c5cef4..9b1423af 100644 --- a/config.toml +++ b/config.toml @@ -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' ? diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index 961cefd3..93232b15 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -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); }