mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 01:16:30 -05:00
func_create_ff.cpp
This commit is contained in:
parent
3931cc8bc8
commit
6fd2662e04
1 changed files with 2 additions and 10 deletions
|
|
@ -65,16 +65,8 @@ namespace l
|
|||
{
|
||||
if(branch.mode != +Branch2::Mode::RW)
|
||||
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);
|
||||
if(rv == -1)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue