mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-12-02 13:33:39 +08:00
mergerfs.cpp
This commit is contained in:
parent
d8fbe9da00
commit
8aa4136495
|
@ -306,9 +306,13 @@ main(int argc_,
|
||||||
State state;
|
State state;
|
||||||
auto data = toml::parse<toml::preserve_comments>("config.toml");
|
auto data = toml::parse<toml::preserve_comments>("config.toml");
|
||||||
|
|
||||||
|
fuse_file_info_t ffi;
|
||||||
Branches2 branches(data["branches"]);
|
Branches2 branches(data["branches"]);
|
||||||
|
|
||||||
state.create;
|
state.create(branches,
|
||||||
|
"",
|
||||||
|
O_RDWR,
|
||||||
|
&ffi);
|
||||||
|
|
||||||
std::cout << data["branches"] << '\n';
|
std::cout << data["branches"] << '\n';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user