mergerfs.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-01-27 00:45:00 -06:00
parent 39b72434ea
commit 9187a4b899
2 changed files with 3 additions and 1 deletions

View File

@ -116,6 +116,7 @@ func.open.policy = 'ff'
[branches]
min-free-space = 123
# TIER 0
[[branches.tier]]
[[branches.tier.branch]]
name = 'branch0'
@ -133,6 +134,7 @@ path-type = 'literal'
mode = 'RW'
if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ?
# TIER 1
[[branches.tier]]
[[branches.tier.branch]]
name = 'branch0'

View File

@ -302,7 +302,7 @@ int
main(int argc_,
char **argv_)
{
auto data = toml::parse("config.toml");
auto data = toml::parse<toml::preserve_comments>("config.toml");
std::cout << data["branches"] << '\n';
// Branches2 b(data["branches"]);