mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 03:16:56 -05:00
Start using std::filesystem::path for fusepath (#1522)
This commit is contained in:
parent
f64ff9ca1e
commit
8c649d33ee
139 changed files with 1711 additions and 1663 deletions
|
|
@ -34,7 +34,7 @@ using std::string;
|
|||
static
|
||||
int
|
||||
_create(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
int rv;
|
||||
|
|
@ -68,7 +68,7 @@ _create(const Branches::Ptr &branches_,
|
|||
static
|
||||
int
|
||||
_action(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
int rv;
|
||||
|
|
@ -100,7 +100,7 @@ _action(const Branches::Ptr &branches_,
|
|||
static
|
||||
int
|
||||
_search(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
for(auto &branch : *branches_)
|
||||
|
|
@ -119,7 +119,7 @@ _search(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPAll::Action::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return ::_action(branches_,fusepath_,paths_);
|
||||
|
|
@ -127,7 +127,7 @@ Policy::EPAll::Action::operator()(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPAll::Create::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return ::_create(branches_,fusepath_,paths_);
|
||||
|
|
@ -135,7 +135,7 @@ Policy::EPAll::Create::operator()(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPAll::Search::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return ::_search(branches_,fusepath_,paths_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue