mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-15 02:35:12 +08:00
mergerfs.cpp
This commit is contained in:
parent
39b72434ea
commit
9187a4b899
@ -116,6 +116,7 @@ func.open.policy = 'ff'
|
|||||||
[branches]
|
[branches]
|
||||||
min-free-space = 123
|
min-free-space = 123
|
||||||
|
|
||||||
|
# TIER 0
|
||||||
[[branches.tier]]
|
[[branches.tier]]
|
||||||
[[branches.tier.branch]]
|
[[branches.tier.branch]]
|
||||||
name = 'branch0'
|
name = 'branch0'
|
||||||
@ -133,6 +134,7 @@ path-type = 'literal'
|
|||||||
mode = 'RW'
|
mode = 'RW'
|
||||||
if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ?
|
if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ?
|
||||||
|
|
||||||
|
# TIER 1
|
||||||
[[branches.tier]]
|
[[branches.tier]]
|
||||||
[[branches.tier.branch]]
|
[[branches.tier.branch]]
|
||||||
name = 'branch0'
|
name = 'branch0'
|
||||||
|
@ -302,7 +302,7 @@ int
|
|||||||
main(int argc_,
|
main(int argc_,
|
||||||
char **argv_)
|
char **argv_)
|
||||||
{
|
{
|
||||||
auto data = toml::parse("config.toml");
|
auto data = toml::parse<toml::preserve_comments>("config.toml");
|
||||||
|
|
||||||
std::cout << data["branches"] << '\n';
|
std::cout << data["branches"] << '\n';
|
||||||
// Branches2 b(data["branches"]);
|
// Branches2 b(data["branches"]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user