Method

PackageKitPackageSackfilter_by_info

since: 0.6.2

Declaration [src]

PkPackageSack*
pk_package_sack_filter_by_info (
  PkPackageSack* sack,
  PkInfoEnum info
)

Description [src]

Returns a new package sack which only matches packages that match the specified info enum value.

Available since: 0.6.2

Parameters

info

Type: PkInfoEnum

A PkInfoEnum value to match.

Return value

Type: PkPackageSack

A new PkPackageSack, free with g_object_unref().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.