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]

Since: 1.0


modulemd_component_module_get_ref ()

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.

Returns

A string containing the repository ref.

Since: 1.0


modulemd_component_module_peek_ref ()

const gchar *
modulemd_component_module_peek_ref (ModulemdComponentModule *self);

Retrieves the repository ref.

Returns

A string containing the repository ref.

Since: 1.1


modulemd_component_module_dup_ref ()

gchar *
modulemd_component_module_dup_ref (ModulemdComponentModule *self);

Retrieves a copy of the repository ref.

Returns

A copy of the string containing the repository ref.

Since: 1.1


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]

Since: 1.0


modulemd_component_module_get_repository ()

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.

Returns

A string containing the repository location.

Since: 1.0


modulemd_component_module_peek_repository ()

const gchar *
modulemd_component_module_peek_repository
                               (ModulemdComponentModule *self);

Retrieves the repository location.

Returns

A string containing the repository location.

Since: 1.1


modulemd_component_module_dup_repository ()

gchar *
modulemd_component_module_dup_repository
                               (ModulemdComponentModule *self);

Retrieves a copy of the repository location.

Returns

A copy of the string containing the repository location.

Since: 1.1

Types and Values

MODULEMD_TYPE_COMPONENT_MODULE

#define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())

ModulemdComponentModule

typedef struct _ModulemdComponentModule ModulemdComponentModule;