mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
checkpoint
This commit is contained in:
parent
96d8232853
commit
d8ba75cca3
80 changed files with 1051 additions and 373 deletions
|
|
@ -27,6 +27,13 @@ Category::Base::from_string(const std::string_view s_)
|
|||
{
|
||||
int rv;
|
||||
|
||||
// "mixed" is the sentinel to_string emits when constituent funcs
|
||||
// disagree. Accepting it as a no-op makes config save/restore work
|
||||
// even when per-function overrides have diverged from the
|
||||
// category-wide value.
|
||||
if(s_ == "mixed")
|
||||
return 0;
|
||||
|
||||
for(auto func : funcs)
|
||||
{
|
||||
rv = func->from_string(s_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue