mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
func_create_ff.cpp
This commit is contained in:
parent
dbb1cc596f
commit
a8d6ea8dbf
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue