mergerfs.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-05 07:45:55 -06:00
parent d8fbe9da00
commit 8aa4136495

View File

@ -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';