mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-03 21:31:10 +08:00
branch2.cpp
This commit is contained in:
parent
0a7cc3008f
commit
ebe35f5a0b
@ -1,7 +1,14 @@
|
||||
#include "branch2.hpp"
|
||||
|
||||
|
||||
Branch2::Branch2()
|
||||
: mode(Mode::RW)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Branch2::Branch2(toml::value const &v_)
|
||||
{
|
||||
enabled = v_.at("enabled").as_boolean();
|
||||
mode = v_.at("mode").as_string()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user