mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 21:00:13 -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
|
|
@ -27,14 +27,14 @@
|
|||
|
||||
void
|
||||
fs::findallfiles(const std::vector<std::string> &basepaths_,
|
||||
const char *fusepath_,
|
||||
const fs::path &fusepath_,
|
||||
std::vector<std::string> *paths_)
|
||||
{
|
||||
std::string fullpath;
|
||||
fs::path fullpath;
|
||||
|
||||
for(const auto &basepath : basepaths_)
|
||||
{
|
||||
fullpath = fs::path::make(basepath,fusepath_);
|
||||
fullpath = basepath / fusepath_;
|
||||
|
||||
if(!fs::exists(fullpath))
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue