mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-28 19:06:39 -05:00
Revert removal of readdir init setup, simplify cfg usage (#1520)
This commit is contained in:
parent
99c28ad3bc
commit
f64ff9ca1e
42 changed files with 388 additions and 426 deletions
|
|
@ -36,6 +36,7 @@ public:
|
|||
{
|
||||
std::function<std::string()> get;
|
||||
std::function<int(const std::string_view)> set;
|
||||
std::function<int(const std::string_view)> valid;
|
||||
};
|
||||
|
||||
void set_getset(const std::string &name,
|
||||
|
|
@ -45,6 +46,8 @@ public:
|
|||
std::string &val);
|
||||
int set(const std::string &key,
|
||||
const std::string_view val);
|
||||
int valid(const std::string &key,
|
||||
const std::string_view val);
|
||||
|
||||
public:
|
||||
using OpenFileMap = boost::concurrent_flat_map<u64,OpenFile>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue