13#include <zypp/PathInfo.h>
39 [&](
const Pathname & dir_r,
const char *
const name_r )->
bool
41 if ( ( nodots && name_r[0] ==
'.' ) || ! matcher_r( name_r ) )
43 return fnc_r( dir_r, name_r );
String matching (STRING|SUBSTRING|GLOB|REGEX).
const StrMatcher & matchNoDots()
Convenience returning StrMatcher( "[^.]*", Match::GLOB )
int dirForEach(const Pathname &dir_r, const StrMatcher &matcher_r, function< bool(const Pathname &, const char *const)> fnc_r)
Easy-to use interface to the ZYPP dependency resolver.