libyui-qt-pkg
2.47.5
|
Zypp filtering helpers. More...
#include <YQPkgFilters.h>
Static Public Member Functions | |
static ZyppProduct | singleProductFilter (std::function< bool(const zypp::PoolItem &item)> filter) |
Returns the product if the filter finds a single product or null product if there are no or multiple products. More... | |
Zypp filtering helpers.
Definition at line 29 of file YQPkgFilters.h.
|
static |
Returns the product if the filter finds a single product or null product if there are no or multiple products.
filter | filtering function, the parameter is the product pool item, returning true if it matches the expectations |
Definition at line 35 of file YQPkgFilters.cc.