mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-26 02:09:52 +08:00
func_create_ff.cpp
This commit is contained in:
parent
dbb1cc596f
commit
a8d6ea8dbf
|
@ -51,9 +51,14 @@ namespace l
|
||||||
continue;
|
continue;
|
||||||
for(auto const &fnmatch : branch.exclude)
|
for(auto const &fnmatch : branch.exclude)
|
||||||
{
|
{
|
||||||
|
int rv;
|
||||||
|
const char *pattern = "*";
|
||||||
|
|
||||||
|
rv = fnmatch(pattern,fusepath_.string().c_str(),FNM_CASEFOLD);
|
||||||
|
|
||||||
|
if(rv == 0)
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
rv = fs::info(branch.path,&info);
|
rv = fs::info(branch.path,&info);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user