mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 07:26:28 -05:00
Rework policies to return branches rather than path strings
This commit is contained in:
parent
7e084ea7db
commit
86b50d2d4e
86 changed files with 1259 additions and 3088 deletions
|
|
@ -19,7 +19,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "policy.hpp"
|
||||
#include "strvec.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
|
@ -36,7 +35,7 @@ public:
|
|||
Value();
|
||||
|
||||
uint64_t time;
|
||||
StrVec paths;
|
||||
std::vector<Branch*> paths;
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
@ -51,7 +50,7 @@ public:
|
|||
int operator()(const Policy::Search &policy,
|
||||
const Branches &branches,
|
||||
const char *fusepath,
|
||||
StrVec *paths);
|
||||
std::vector<Branch*> &paths);
|
||||
|
||||
public:
|
||||
uint64_t timeout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue