mergerfs/src/branch2.cpp

16 lines
218 B
C++
Raw Normal View History

2024-01-24 21:49:02 -06:00
#include "branch2.hpp"
2024-01-25 22:39:56 -06:00
2024-01-29 00:00:38 -06:00
Branch2::Branch2()
: mode(Mode::RW)
{
}
2024-01-25 22:39:56 -06:00
Branch2::Branch2(toml::value const &v_)
2024-01-29 00:01:30 -06:00
: mode(Mode::RW)
2024-01-25 22:39:56 -06:00
{
2024-01-25 22:44:32 -06:00
enabled = v_.at("enabled").as_boolean();
2024-01-29 00:00:59 -06:00
// mode = v_.at("mode").as_string();
2024-01-25 22:39:56 -06:00
}