Browse Source

func_create_ff.cpp

toml4
Antonio SJ Musumeci 8 months ago
parent
commit
6fd2662e04
  1. 12
      src/func_create_ff.cpp

12
src/func_create_ff.cpp

@ -65,16 +65,8 @@ namespace l
{ {
if(branch.mode != +Branch2::Mode::RW) if(branch.mode != +Branch2::Mode::RW)
continue; 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;
}
if(branch.matches_exclude(fusepath_))
continue;
rv = fs::info(branch.path,&info); rv = fs::info(branch.path,&info);
if(rv == -1) if(rv == -1)
continue; continue;

Loading…
Cancel
Save