Browse Source

mergerfs.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
594655afcd
  1. 11
      config.toml
  2. 2
      src/mergerfs.cpp

11
config.toml

@ -85,8 +85,15 @@ min-free-space = 123
[[branches.tier]] [[branches.tier]]
[branches.tier.func.create] [branches.tier.func.create]
policy.default = 'mfs' policy.default = 'mfs'
func.open.policy = 'ff'
[[branches.tier.func.create.policy.overrides]]
dir = 'foo/bar'
policy = 'lus'
[[branches.tier.func.create.policy.overrides]]
dir = 'blah'
policy = 'xyz'
[branches.tier.func.mkdir]
policy.default = 'mfs'
[[branches.tier.branch]] [[branches.tier.branch]]
enabled = true enabled = true

2
src/mergerfs.cpp

@ -308,6 +308,8 @@ main(int argc_,
std::cout << data["branches"] << '\n'; std::cout << data["branches"] << '\n';
pause(); pause();
return 0; return 0;

Loading…
Cancel
Save