Browse Source

mergerfs.cpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
8aa4136495
  1. 6
      src/mergerfs.cpp

6
src/mergerfs.cpp

@ -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…
Cancel
Save