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
|
|
@ -47,14 +47,14 @@ _unlink(const fs::find::Func actionFunc,
|
|||
{
|
||||
int rv;
|
||||
int error;
|
||||
fs::Paths paths;
|
||||
Paths paths;
|
||||
|
||||
rv = actionFunc(srcmounts,fusepath,minfreespace,paths);
|
||||
if(rv == -1)
|
||||
return -errno;
|
||||
|
||||
error = 0;
|
||||
for(fs::Paths::const_iterator
|
||||
for(Paths::const_iterator
|
||||
i = paths.begin(), ei = paths.end(); i != ei; ++i)
|
||||
{
|
||||
rv = ::unlink(i->full.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue