Zypp filtering helpers. More...
#include <YQPkgFilters.h>
Static Public Member Functions | |
static ZyppProduct | singleProductFilter (std::function< bool(const zypp::PoolItem &item)> filter) |
Zypp filtering helpers.
|
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 |