Top |
ModulemdComponentRpm *
modulemd_component_rpm_new (void
);
Since: 1.0
void modulemd_component_rpm_set_arches (ModulemdComponentRpm *self
,ModulemdSimpleSet *arches
);
arches |
a ModuleSimpleSet: A set of architectures on which this RPM package should be available. An empty set means the package is available on all supported architectures. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_component_rpm_get_arches (ModulemdComponentRpm *self
);
modulemd_component_rpm_get_arches
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_arches()
instead.
Retrieves the set of arches for this component.
Since: 1.0
ModulemdSimpleSet *
modulemd_component_rpm_peek_arches (ModulemdComponentRpm *self
);
Retrieves the set of arches for this component.
Since: 1.1
ModulemdSimpleSet *
modulemd_component_rpm_dup_arches (ModulemdComponentRpm *self
);
Retrieves a copy of the set of arches for this component.
Since: 1.1
void modulemd_component_rpm_set_cache (ModulemdComponentRpm *self
,const gchar *cache
);
cache |
A string: The URL of the lookaside cache where this package's sources are stored. |
[nullable] |
Since: 1.0
const gchar *
modulemd_component_rpm_get_cache (ModulemdComponentRpm *self
);
modulemd_component_rpm_get_cache
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_cache()
instead.
Retrieves the lookaside cache URL.
const gchar *
modulemd_component_rpm_peek_cache (ModulemdComponentRpm *self
);
Retrieves the lookaside cache URL.
Since: 1.1
gchar *
modulemd_component_rpm_dup_cache (ModulemdComponentRpm *self
);
Retrieves a copy of the lookaside cache URL.
Since: 1.1
void modulemd_component_rpm_set_multilib (ModulemdComponentRpm *self
,ModulemdSimpleSet *multilib
);
multilib |
a ModuleSimpleSet: A set of architectures on which this RPM package should be available as multilib. An empty set means the package is not available as multilib on any architecture. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_component_rpm_get_multilib (ModulemdComponentRpm *self
);
modulemd_component_rpm_get_multilib
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_multilib()
instead.
Retrieves the set of multilib for this component.
A ModulemdSimpleSet containing the set of supported multilib architectures for this component.
Since: 1.0
ModulemdSimpleSet *
modulemd_component_rpm_peek_multilib (ModulemdComponentRpm *self
);
Retrieves the set of multilib for this component.
A ModulemdSimpleSet containing the set of supported multilib architectures for this component.
Since: 1.1
ModulemdSimpleSet *
modulemd_component_rpm_dup_multilib (ModulemdComponentRpm *self
);
Retrieves a copy of the set of multilib for this component.
A ModulemdSimpleSet containing the set of supported multilib architectures for this component.
Since: 1.1
void modulemd_component_rpm_set_ref (ModulemdComponentRpm *self
,const gchar *ref
);
ref |
A string: The particular repository commit hash, branch or tag name used in this module. |
[nullable] |
Since: 1.0
const gchar *
modulemd_component_rpm_get_ref (ModulemdComponentRpm *self
);
modulemd_component_rpm_get_ref
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_ref()
instead.
Retrieves the repository ref.
const gchar *
modulemd_component_rpm_peek_ref (ModulemdComponentRpm *self
);
Retrieves the repository ref.
Since: 1.1
gchar *
modulemd_component_rpm_dup_ref (ModulemdComponentRpm *self
);
Retrieves a copy of the repository ref.
Since: 1.1
void modulemd_component_rpm_set_repository (ModulemdComponentRpm *self
,const gchar *repository
);
repository |
A string: The VCS repository with the RPM SPEC file, patches and other package data. |
[nullable] |
Since: 1.0
const gchar *
modulemd_component_rpm_get_repository (ModulemdComponentRpm *self
);
modulemd_component_rpm_get_repository
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_repository()
instead.
Retrieves the repository location.
Since: 1.0
const gchar *
modulemd_component_rpm_peek_repository
(ModulemdComponentRpm *self
);
Retrieves the repository location.
Since: 1.1
gchar *
modulemd_component_rpm_dup_repository (ModulemdComponentRpm *self
);
Retrieves a copy of the repository location.
Since: 1.1