| Top |
Modulemd.RpmMapEntryModulemd.RpmMapEntry — Provides an exploded and unexploded view of the NEVRA of an RPM artifact. |
ModulemdRpmMapEntry * modulemd_rpm_map_entry_new (const gchar *name,guint64 epoch,const gchar *version,const gchar *release,const gchar *arch);
Create a new rpm-map entry. This will contain the decomposed NEVRA of an RPM artifact.
ModulemdRpmMapEntry *
modulemd_rpm_map_entry_copy (ModulemdRpmMapEntry *self);
Since: 2.2
gboolean modulemd_rpm_map_entry_equals (ModulemdRpmMapEntry *self,ModulemdRpmMapEntry *other);
Since: 2.2
gboolean modulemd_rpm_map_entry_validate (ModulemdRpmMapEntry *self,GError **error);
self |
This ModulemdRpmMapEntry |
|
error |
A GError containign the reason the object failed validation. NULL if the validation passed. |
[out] |
Since: 2.2
void modulemd_rpm_map_entry_set_name (ModulemdRpmMapEntry *self,const gchar *name);
Since: 2.2
const gchar *
modulemd_rpm_map_entry_get_name (ModulemdRpmMapEntry *self);
Since: 2.2
void modulemd_rpm_map_entry_set_epoch (ModulemdRpmMapEntry *self,guint64 epoch);
Since: 2.2
guint64
modulemd_rpm_map_entry_get_epoch (ModulemdRpmMapEntry *self);
Since: 2.2
void modulemd_rpm_map_entry_set_version (ModulemdRpmMapEntry *self,const gchar *version);
Since: 2.2
const gchar *
modulemd_rpm_map_entry_get_version (ModulemdRpmMapEntry *self);
Since: 2.2
void modulemd_rpm_map_entry_set_release (ModulemdRpmMapEntry *self,const gchar *release);
Since: 2.2
const gchar *
modulemd_rpm_map_entry_get_release (ModulemdRpmMapEntry *self);
Since: 2.2
void modulemd_rpm_map_entry_set_arch (ModulemdRpmMapEntry *self,const gchar *arch);
Since: 2.2
const gchar *
modulemd_rpm_map_entry_get_arch (ModulemdRpmMapEntry *self);
Since: 2.2
gchar *
modulemd_rpm_map_entry_get_nevra_as_string
(ModulemdRpmMapEntry *self);
[rename-to modulemd_rpm_map_entry_get_nevra]
A newly-allocated string containing the complete N-E:V-R.A constructed from the component parts. NULL if any field is missing.
Since: 2.2