13 #include <zypp/PathInfo.h> 32 int dirForEach(
const Pathname & dir_r,
const StrMatcher & matcher_r,
function<
bool(
const Pathname &,
const char *
const)> fnc_r )
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 );
int dirForEach(const Pathname &dir_r, const StrMatcher &matcher_r, function< bool(const Pathname &, const char *const)> fnc_r)
const StrMatcher & matchNoDots()
Convenience returning StrMatcher( "[^.]*", Match::GLOB )
Easy-to use interface to the ZYPP dependency resolver.