PkRepoDetail

PkRepoDetail — RepoDetail object

Functions

Description

This GObject represents a repo_detail from a transaction. These objects represent single items of data from the transaction, and are often present in lists (PkResults) or just refcounted in client programs.

Functions

pk_repo_detail_new ()

PkRepoDetail *
pk_repo_detail_new (void);

Returns

a new PkRepoDetail object.

Since: 0.5.4


pk_repo_detail_get_id ()

const gchar *
pk_repo_detail_get_id (PkRepoDetail *repo_detail);

Gets the repository ID.

Parameters

repo_detail

a valid PkRepoDetail instance

 

Returns

string ID, e.g. "fedora"

Since: 0.9.1


pk_repo_detail_get_description ()

const gchar *
pk_repo_detail_get_description (PkRepoDetail *repo_detail);

Gets the repository description.

Parameters

repo_detail

a valid PkRepoDetail instance

 

Returns

string ID, e.g. "Fedora 20 - i386"

Since: 0.9.1


pk_repo_detail_get_enabled ()

gboolean
pk_repo_detail_get_enabled (PkRepoDetail *repo_detail);

Gets the repository enabled status.

Parameters

repo_detail

a valid PkRepoDetail instance

 

Returns

TRUE for enabled

Since: 0.9.1