mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
branch2.cpp
This commit is contained in:
parent
0a7cc3008f
commit
ebe35f5a0b
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue