Browse Source

branch_tier.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
7ddbc50fd8
  1. 4
      config.toml
  2. 2
      src/branch_tier.cpp

4
config.toml

@ -95,7 +95,7 @@ order = 'name:asc' # | size
[[branches.tier.branch]] [[branches.tier.branch]]
enabled = true enabled = true
name = 'branch1' name = 'branch1'
type = 'literal'
type = 'scan'
path = '/mnt/branch1' path = '/mnt/branch1'
mode = 'RW' mode = 'RW'
[[branches.tier.branch]] [[branches.tier.branch]]
@ -110,6 +110,6 @@ if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ?
[[branches.tier.branch]] [[branches.tier.branch]]
enabled = true enabled = true
name = 'branch0' name = 'branch0'
type = 'literal'
type = 'scan'
path = 'foo' path = 'foo'
mode = 'RO' mode = 'RO'

2
src/branch_tier.cpp

@ -43,7 +43,7 @@ namespace l
load_branch_scan(toml::table const &v_, load_branch_scan(toml::table const &v_,
std::vector<Branch2> &branches_) std::vector<Branch2> &branches_)
{ {
assert("not currently supported" == NULL);
assert("not currently supported" != NULL);
} }
} }

Loading…
Cancel
Save