mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 03:47:02 -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
|
|
@ -29,13 +29,10 @@
|
|||
#include <string>
|
||||
|
||||
|
||||
using std::string;
|
||||
|
||||
|
||||
static
|
||||
int
|
||||
_create(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
int rv;
|
||||
|
|
@ -78,7 +75,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;
|
||||
|
|
@ -119,7 +116,7 @@ _action(const Branches::Ptr &branches_,
|
|||
static
|
||||
int
|
||||
_search(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
int rv;
|
||||
|
|
@ -153,7 +150,7 @@ _search(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPMFS::Action::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return ::_action(branches_,fusepath_,paths_);
|
||||
|
|
@ -161,7 +158,7 @@ Policy::EPMFS::Action::operator()(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPMFS::Create::operator()(const Branches::Ptr &branches_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<Branch*> &paths_) const
|
||||
{
|
||||
return ::_create(branches_,fusepath_,paths_);
|
||||
|
|
@ -169,7 +166,7 @@ Policy::EPMFS::Create::operator()(const Branches::Ptr &branches_,
|
|||
|
||||
int
|
||||
Policy::EPMFS::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