Browse Source

func_create_ff.cpp

toml4
Antonio SJ Musumeci 8 months ago
parent
commit
3931cc8bc8
  1. 16
      src/func_create_ff.cpp

16
src/func_create_ff.cpp

@ -28,6 +28,22 @@ Func2::CreateFF::~CreateFF()
namespace l
{
bool
fnmatch(std::vector<std::string> const &patterns_,
const char *string_)
{
int rv;
for(auto const &pattern : patterns_)
{
rv = ::fnmatch(patterns_.c_str(),string_,FNM_EXTMATCH);
if(rv == 0)
return true;
}
return false;
}
static
int
create(Branches2 &branches_,

Loading…
Cancel
Save