Top |
gboolean | modulemd_profile_equals () |
ModulemdProfile * | modulemd_profile_new () |
ModulemdProfile * | modulemd_profile_copy () |
const gchar * | modulemd_profile_get_name () |
void | modulemd_profile_set_description () |
const gchar * | modulemd_profile_get_description () |
void | modulemd_profile_add_rpm () |
void | modulemd_profile_remove_rpm () |
gchar ** | modulemd_profile_get_rpms_as_strv () |
gboolean modulemd_profile_equals (ModulemdProfile *self_1
,ModulemdProfile *self_2
);
Since: 2.2
ModulemdProfile *
modulemd_profile_new (const gchar *name
);
Since: 2.0
ModulemdProfile *
modulemd_profile_copy (ModulemdProfile *self
);
Create a copy of this ModulemdProfile object.
Since: 2.0
const gchar *
modulemd_profile_get_name (ModulemdProfile *self
);
Since: 2.0
void modulemd_profile_set_description (ModulemdProfile *self
,const gchar *description
);
self |
This ModulemdProfile |
|
description |
The description of this profile in the C locale. |
[nullable] |
Since: 2.0
const gchar * modulemd_profile_get_description (ModulemdProfile *self
,const gchar *locale
);
self |
This ModulemdProfile |
|
locale |
The name of the locale to use when translating the string. If NULL, it will determine the locale with a system call to setlocale(LC_MESSAGES, NULL) and return the that. If the caller wants the untranslated string, they should pass "C" for the locale. |
[in][nullable] |
The description of this profile translated into the language specified by the locale if it is available, otherwise it returns the C.UTF-8 original.
Since: 2.0
void modulemd_profile_add_rpm (ModulemdProfile *self
,const gchar *rpm
);
self |
This ModulemdProfile |
|
rpm |
The name of a binary RPM that should be installed when this profile is selected for installation. |
Since: 2.0
void modulemd_profile_remove_rpm (ModulemdProfile *self
,const gchar *rpm
);
Since: 2.0
gchar **
modulemd_profile_get_rpms_as_strv (ModulemdProfile *self
);
[rename-to modulemd_profile_get_rpms]
An ordered list of binary RPMS that would be installed when this profile is selected for installation.
Since: 2.0