mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-25 17:57:41 +08:00
func_create_ff.cpp
This commit is contained in:
parent
dbb1cc596f
commit
a8d6ea8dbf
|
@ -51,9 +51,14 @@ namespace l
|
|||
continue;
|
||||
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);
|
||||
if(rv == -1)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user