Top | ![]() |
![]() |
![]() |
![]() |
ModulemdComponentRpm * | modulemd_component_rpm_new () |
void | modulemd_component_rpm_add_restricted_arch () |
void | modulemd_component_rpm_reset_arches () |
GStrv | modulemd_component_rpm_get_arches_as_strv () |
void | modulemd_component_rpm_add_multilib_arch () |
void | modulemd_component_rpm_reset_multilib_arches () |
GStrv | modulemd_component_rpm_get_multilib_arches_as_strv () |
void | modulemd_component_rpm_set_cache () |
const gchar * | modulemd_component_rpm_get_cache () |
void | modulemd_component_rpm_set_ref () |
const gchar * | modulemd_component_rpm_get_ref () |
void | modulemd_component_rpm_set_repository () |
const gchar * | modulemd_component_rpm_get_repository () |
ModulemdComponentRpm *
modulemd_component_rpm_new (const gchar *key
);
key |
The key of this module component. Used when looking up components from a ModulemdModuleStream. |
[not nullable] |
Since: 2.0
void modulemd_component_rpm_add_restricted_arch (ModulemdComponentRpm *self
,const gchar *arch
);
Restrict the list of architectures on which this RPM will be available. It
may be called any number of times to indicate support on additional
architectures. Use modulemd_component_rpm_reset_arches()
to return to "all
architectures".
self |
This ModulemdComponentRpm object. |
|
arch |
An architecture on which this package should be available. |
Since: 2.0
void
modulemd_component_rpm_reset_arches (ModulemdComponentRpm *self
);
Indicate that this RPM component is available on all arches.
Since: 2.0
GStrv
modulemd_component_rpm_get_arches_as_strv
(ModulemdComponentRpm *self
);
[rename-to modulemd_component_rpm_get_arches]
Since: 2.0
void modulemd_component_rpm_add_multilib_arch (ModulemdComponentRpm *self
,const gchar *arch
);
Add an architectures on which this RPM will be multilib. It may be called
any number of times. Use modulemd_component_rpm_reset_multilib_arches()
to
return to "no architectures".
self |
This ModulemdComponentRpm object. |
|
arch |
An architecture on which this package should be multilib. |
Since: 2.0
void
modulemd_component_rpm_reset_multilib_arches
(ModulemdComponentRpm *self
);
Indicate that this RPM component is multilib on no architectures.
Since: 2.0
GStrv
modulemd_component_rpm_get_multilib_arches_as_strv
(ModulemdComponentRpm *self
);
[rename-to modulemd_component_rpm_get_multilib_arches]
Since: 2.0
void modulemd_component_rpm_set_cache (ModulemdComponentRpm *self
,const gchar *cache
);
Since: 2.0
const gchar *
modulemd_component_rpm_get_cache (ModulemdComponentRpm *self
);
Since: 2.0
void modulemd_component_rpm_set_ref (ModulemdComponentRpm *self
,const gchar *ref
);
self |
This ModulemdComponentRpm object. |
|
ref |
The commit ID in the SCM repository. |
[in][nullable] |
Since: 2.0
const gchar *
modulemd_component_rpm_get_ref (ModulemdComponentRpm *self
);
Since: 2.0
void modulemd_component_rpm_set_repository (ModulemdComponentRpm *self
,const gchar *repository
);
self |
This ModulemdComponentRpm object |
|
repository |
The URI of the SCM repository. |
[in][nullable] |
Since: 2.0
const gchar *
modulemd_component_rpm_get_repository (ModulemdComponentRpm *self
);
Since: 2.0
#define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())