mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Rework string utils, more test cases
This commit is contained in:
parent
107a3acf95
commit
3a45be4cd8
8 changed files with 371 additions and 206 deletions
|
|
@ -37,7 +37,8 @@ ConfigSet::from_string(const std::string_view str_)
|
|||
{
|
||||
this->clear();
|
||||
|
||||
str::split(str_,'|',this);
|
||||
auto tmp = str::split_to_set(str_,'|');
|
||||
this->insert(tmp.begin(), tmp.end());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue