Top | ![]() |
![]() |
![]() |
![]() |
void modulemd_component_module_set_ref (ModulemdComponentModule *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_module_get_ref (ModulemdComponentModule *self
);
modulemd_component_module_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.
Since: 1.0
const gchar *
modulemd_component_module_peek_ref (ModulemdComponentModule *self
);
Retrieves the repository ref.
Since: 1.1
gchar *
modulemd_component_module_dup_ref (ModulemdComponentModule *self
);
Retrieves a copy of the repository ref.
Since: 1.1
void modulemd_component_module_set_repository (ModulemdComponentModule *self
,const gchar *repository
);
repository |
A string: The VCS repository with the modulemd file, and other module data. |
[nullable] |
Since: 1.0
const gchar *
modulemd_component_module_get_repository
(ModulemdComponentModule *self
);
modulemd_component_module_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_module_peek_repository
(ModulemdComponentModule *self
);
Retrieves the repository location.
Since: 1.1
gchar *
modulemd_component_module_dup_repository
(ModulemdComponentModule *self
);
Retrieves a copy of the repository location.
Since: 1.1