mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 14:36:36 -05:00
add category to policies so as to distinguish between creates and searches
This commit is contained in:
parent
a5bf48c8ae
commit
51b6d3f647
32 changed files with 292 additions and 224 deletions
|
|
@ -40,10 +40,11 @@ using std::size_t;
|
|||
namespace mergerfs
|
||||
{
|
||||
int
|
||||
Policy::Func::ff(const vector<string> &basepaths,
|
||||
const string &fusepath,
|
||||
const size_t minfreespace,
|
||||
Paths &paths)
|
||||
Policy::Func::ff(const Category::Enum::Type type,
|
||||
const vector<string> &basepaths,
|
||||
const string &fusepath,
|
||||
const size_t minfreespace,
|
||||
Paths &paths)
|
||||
{
|
||||
errno = ENOENT;
|
||||
for(vector<string>::const_iterator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue