mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
branch2.cpp
This commit is contained in:
parent
98f60c1ae9
commit
7779c1e149
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ Branch2::matches_exclude(ghc::filesystem::path const &path_) const
|
|||
int rv;
|
||||
|
||||
rv = ::fnmatch(pattern.c_str(),path,FNM_EXTMATCH);
|
||||
if(rv == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue