mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05: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
|
|
@ -48,7 +48,7 @@ _symlink(const fs::find::Func createFunc,
|
|||
int rv;
|
||||
int error;
|
||||
string newpathdir;
|
||||
fs::Paths newpathdirs;
|
||||
Paths newpathdirs;
|
||||
|
||||
newpathdir = fs::dirname(newpath);
|
||||
rv = createFunc(srcmounts,newpathdir,minfreespace,newpathdirs);
|
||||
|
|
@ -56,7 +56,7 @@ _symlink(const fs::find::Func createFunc,
|
|||
return -errno;
|
||||
|
||||
error = 0;
|
||||
for(fs::Paths::iterator
|
||||
for(Paths::iterator
|
||||
i = newpathdirs.begin(), ei = newpathdirs.end(); i != ei; ++i)
|
||||
{
|
||||
i->full = fs::make_path(i->base,newpath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue