func_create_ff.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-10 17:48:34 -05:00
parent dbb1cc596f
commit a8d6ea8dbf

View File

@ -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;