libyui-qt-pkg
 
Loading...
Searching...
No Matches
YQPkgFilters Class Reference

Zypp filtering helpers. More...

#include <YQPkgFilters.h>

Static Public Member Functions

static ZyppProduct singleProductFilter (std::function< bool(const zypp::PoolItem &item)> filter)
 

Detailed Description

Zypp filtering helpers.

Member Function Documentation

◆ singleProductFilter()

ZyppProduct YQPkgFilters::singleProductFilter ( std::function< bool(const zypp::PoolItem &item)> filter)
static

Returns the product if the filter finds a single product or null product if there are no or multiple products.

Parameters
filterfiltering function, the parameter is the product pool item, returning true if it matches the expectations
Returns
Found zypp product or null

The documentation for this class was generated from the following files: