Method

PackageKitPackageget_origin

unstable since: 2.0.0

Declaration [src]

const gchar*
pk_package_get_origin (
  PkPackage* package
)

Description [src]

Gets the package origin, which is usually the repository ID that contains the package. A special origin is “local” for local packages that exist on disk but not in a repository.

Available since: 2.0.0

Return value

Type: const gchar*

The origin, or NULL if unset.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.