mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
move Path object to separate file
This commit is contained in:
parent
23cca83742
commit
2bd44568a1
23 changed files with 98 additions and 65 deletions
|
|
@ -52,8 +52,8 @@ _mkdir(const fs::find::Func searchFunc,
|
|||
int error;
|
||||
string dirname;
|
||||
string fullpath;
|
||||
fs::Paths createpaths;
|
||||
fs::Paths existingpath;
|
||||
Paths createpaths;
|
||||
Paths existingpath;
|
||||
|
||||
dirname = fs::dirname(fusepath);
|
||||
rv = searchFunc(srcmounts,dirname,minfreespace,existingpath);
|
||||
|
|
@ -65,7 +65,7 @@ _mkdir(const fs::find::Func searchFunc,
|
|||
return -errno;
|
||||
|
||||
error = 0;
|
||||
for(fs::Paths::const_iterator
|
||||
for(Paths::const_iterator
|
||||
i = createpaths.begin(), ei = createpaths.end(); i != ei; ++i)
|
||||
{
|
||||
if(i->base != existingpath[0].base)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue