[ Version ( since = "0.6.3" ) ]
public PackageSack filter (PackageSackFilterFunc filter_cb)
Returns a new package sack which only matches packages that return true
from the filter function.
this |
a valid PackageSack instance |
filter_cb |
a PackageSackFilterFunc, which returns |
user_data |
user data to pass to |
a new PackageSack, free with unref |