modulemd-component-module

modulemd-component-module

Functions

Types and Values

Description

Functions

modulemd_component_module_new ()

ModulemdComponentModule *
modulemd_component_module_new (void);

modulemd_component_module_set_ref ()

void
modulemd_component_module_set_ref (ModulemdComponentModule *self,
                                   const gchar *ref);

Parameters

ref

A string: The particular repository commit hash, branch or tag name used in this module.

[nullable]

modulemd_component_module_get_ref ()

const gchar *
modulemd_component_module_get_ref (ModulemdComponentModule *self);

Retrieves the repository ref.

Returns

A string containing the repository ref.


modulemd_component_module_set_repository ()

void
modulemd_component_module_set_repository
                               (ModulemdComponentModule *self,
                                const gchar *repository);

Parameters

repository

A string: The VCS repository with the modulemd file, and other module data.

[nullable]

modulemd_component_module_get_repository ()

const gchar *
modulemd_component_module_get_repository
                               (ModulemdComponentModule *self);

Retrieves the repository location.

Returns

A string containing the repository location.

Types and Values

MODULEMD_TYPE_COMPONENT_MODULE

#define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())

ModulemdComponentModule

typedef struct _ModulemdComponentModule ModulemdComponentModule;