mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -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
|
|
@ -24,25 +24,25 @@ using std::string;
|
|||
|
||||
|
||||
int
|
||||
Policy::ERoFS::Action::operator()(const Branches::CPtr &branches_,
|
||||
Policy::ERoFS::Action::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
StrVec *paths_) const
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return (errno=EROFS,-1);
|
||||
}
|
||||
|
||||
int
|
||||
Policy::ERoFS::Create::operator()(const Branches::CPtr &branches_,
|
||||
Policy::ERoFS::Create::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
StrVec *paths_) const
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return (errno=EROFS,-1);
|
||||
}
|
||||
|
||||
int
|
||||
Policy::ERoFS::Search::operator()(const Branches::CPtr &branches_,
|
||||
Policy::ERoFS::Search::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
StrVec *paths_) const
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return (errno=EROFS,-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue