Top |
Modulemd.ModuleModulemd.Module — DEPRECATED: use ModulemdModuleStream instead |
ModulemdModule *
modulemd_module_new (void
);
modulemd_module_new
has been deprecated since version 1.6 and should not be used in newly-written code.
This object is being replaced by ModulemdModuleStream
Allocates a new ModulemdModule.
Since: 1.0
ModulemdModule *
modulemd_module_new_from_file (const gchar *yaml_file
);
Allocates a new ModulemdModule from a file.
yaml_file |
A YAML file containing the module metadata. If this file contains more than one module, only the first will be loaded. |
Since: 1.0
ModulemdModule * modulemd_module_new_from_file_ext (const gchar *yaml_file
,GPtrArray **failures
,GError **error
);
Allocates a new ModulemdModule from a file.
yaml_file |
A YAML file containing the module metadata. If this file contains more than one subdocument, only the first will be loaded (if it is a module stream document). |
|
failures |
An array containing any subdocuments from the YAML file that failed to
parse. This must be freed with |
[element-type ModulemdSubdocument][transfer container][out] |
Since: 1.4
void modulemd_module_new_all_from_file (const gchar *yaml_file
,ModulemdModule ***_modules
);
Allocates a list of new ModulemdModule from a file.
yaml_file |
A YAML file containing the module metadata. |
|
_modules |
A zero-terminated array of modules contained in this document. |
[out][array zero-terminated=1][element-type ModulemdModule][transfer container] |
Since: 1.0
void modulemd_module_new_all_from_file_ext (const gchar *yaml_file
,GPtrArray **data
);
Allocates a GPtrArray of various supported subdocuments from a file.
yaml_file |
A YAML file containing the module metadata. |
|
data |
A GPtrArray of objects read from the YAML stream. |
[out][array zero-terminated=1][element-type GObject][transfer container] |
Since: 1.1
ModulemdModule *
modulemd_module_new_from_string (const gchar *yaml_string
);
Allocates a new ModulemdModule from a string.
yaml_string |
A YAML string containing the module metadata. If this string contains more than one module, only the first will be loaded. |
Since: 1.0
ModulemdModule * modulemd_module_new_from_string_ext (const gchar *yaml_string
,GPtrArray **failures
,GError **error
);
Allocates a new ModulemdModule from a string.
yaml_string |
A YAML string containing the module metadata. If this string contains more than one module, only the first will be loaded. |
|
failures |
An array containing any subdocuments from the YAML file that failed to
parse. This must be freed with |
[element-type ModulemdSubdocument][transfer container][out] |
Since: 1.4
void modulemd_module_new_all_from_string (const gchar *yaml_string
,ModulemdModule ***_modules
);
Allocates a list of new ModulemdModule from a string.
yaml_string |
A YAML string containing the module metadata. |
|
_modules |
A zero-terminated array of modules contained in this document. |
[out][array zero-terminated=1][element-type ModulemdModule][transfer container] |
Since: 1.0
void modulemd_module_new_all_from_string_ext (const gchar *yaml_string
,GPtrArray **data
);
Allocates a GPtrArray of various supported subdocuments from a file.
yaml_string |
A YAML string containing the module metadata. |
|
data |
A GPtrArray of objects read from the YAML stream. |
[out][array zero-terminated=1][element-type GObject][transfer container] |
Since: 1.1
ModulemdModule * modulemd_module_new_from_stream (FILE *stream
,GError **error
);
Allocates a new ModulemdModule from a file.
stream |
A YAML stream containing the module metadata. If this file contains more than one module, only the first will be loaded. |
Since: 1.4
ModulemdModule * modulemd_module_new_from_stream_ext (FILE *stream
,GPtrArray **failures
,GError **error
);
Allocates a new ModulemdModule from a file.
stream |
A YAML stream containing the module metadata. If this file contains more than one module, only the first will be loaded. |
|
failures |
An array containing any subdocuments from the YAML file that failed to
parse. This must be freed with |
[element-type ModulemdSubdocument][transfer container][out] |
Since: 1.4
ModulemdModule *
modulemd_module_new_from_modulestream (ModulemdModuleStream *stream
);
void modulemd_module_dump (ModulemdModule *self
,const gchar *yaml_file
);
Writes this module out to a YAML document on disk.
Since: 1.0
gchar *
modulemd_module_dumps (ModulemdModule *self
);
Writes this module out to a YAML document string.
Since: 1.0
void modulemd_module_dump_all (GPtrArray *module_array
,const gchar *yaml_file
);
This function writes out a file containing one or more YAML documents generated from the supplied modules.
module_array |
A zero-terminated array of modules to be output. |
[array zero-terminated=1][element-type GObject][transfer none] |
Since: 1.0
gchar *
modulemd_module_dumps_all (GPtrArray *module_array
);
This function returns an allocated string containing one or more YAML documents generated from the supplied modules.
module_array |
A zero-terminated array of modules to be output. |
[array zero-terminated=1][element-type GObject][transfer none] |
Since: 1.0
gboolean
modulemd_module_upgrade (ModulemdModule *self
);
This function takes content imported from earlier versions of the modulemd format and upgrades it into the most recent version.
TRUE if the upgrade was performed successfully. If this function returns FALSE, the internal state of the data is undefined and should not be used further.
Since: 1.0
void modulemd_module_set_arch (ModulemdModule *self
,const gchar *arch
);
Sets the "arch" property.
Since: 1.0
const gchar *
modulemd_module_get_arch (ModulemdModule *self
);
Retrieves the "arch" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_arch (ModulemdModule *self
);
Retrieves the "arch" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_arch (ModulemdModule *self
);
Retrieves a copy of the "arch" for modulemd.
Since: 1.1
void modulemd_module_set_buildopts (ModulemdModule *self
,ModulemdBuildopts *buildopts
);
Copies a ModulemdBuildopts object into the module. This object contains additional instructions to the build system required to build this module.
Since: 1.5
ModulemdBuildopts *
modulemd_module_get_buildopts (ModulemdModule *self
);
Get a copy of the ModulemdBuildopts object
a copy of the ModulemdBuildopts object. This
object must be freed with g_object_unref()
when the caller is finished with
it. This function will return NULL if no buildopts have been set.
Since: 1.5
ModulemdBuildopts *
modulemd_module_peek_buildopts (ModulemdModule *self
);
Get a copy of the ModulemdBuildopts object
[skip]
The ModulemdBuildopts object. This object must not be modified or freed. This function will return NULL if no buildopts have been set.
Since: 1.6
void modulemd_module_set_buildrequires (ModulemdModule *self
,GHashTable *buildrequires
);
Sets the 'buildrequires' property. This function was deprecated and is not valid for modulemd files of version 2 or later.
Since: 1.0
GHashTable *
modulemd_module_get_buildrequires (ModulemdModule *self
);
Retrieves the "buildrequires" for modulemd.
A hash table containing the "buildrequires" property.
[element-type utf8 utf8][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_buildrequires (ModulemdModule *self
);
Retrieves the "buildrequires" for modulemd.
A hash table containing the "buildrequires" property.
[element-type utf8 utf8][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_buildrequires (ModulemdModule *self
);
Retrieves the "buildrequires" for modulemd.
A hash table containing the "buildrequires" property.
[element-type utf8 utf8][transfer container]
Since: 1.1
void modulemd_module_set_community (ModulemdModule *self
,const gchar *community
);
Sets the "community" property.
Since: 1.0
const gchar *
modulemd_module_get_community (ModulemdModule *self
);
Retrieves the "community" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_community (ModulemdModule *self
);
Retrieves the "community" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_community (ModulemdModule *self
);
Retrieves a copy of the "community" for modulemd.
Since: 1.1
void modulemd_module_set_content_licenses (ModulemdModule *self
,ModulemdSimpleSet *licenses
);
Sets the content_licenses property.
licenses |
A ModuleSimpleSet: The licenses under which the components of this module are released. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_module_get_content_licenses (ModulemdModule *self
);
Retrieves the "content_licenses" for modulemd
Since: 1.0
ModulemdSimpleSet *
modulemd_module_peek_content_licenses (ModulemdModule *self
);
Retrieves the "content_licenses" for modulemd
Since: 1.1
ModulemdSimpleSet *
modulemd_module_dup_content_licenses (ModulemdModule *self
);
Retrieves the "content_licenses" for modulemd
Since: 1.1
void modulemd_module_set_context (ModulemdModule *self
,const gchar *context
);
Sets the "context" property.
Since: 1.0
const gchar *
modulemd_module_get_context (ModulemdModule *self
);
Retrieves the "context" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_context (ModulemdModule *self
);
Retrieves the "context" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_context (ModulemdModule *self
);
Retrieves a copy of the "context" for modulemd.
Since: 1.1
void modulemd_module_set_dependencies (ModulemdModule *self
,GPtrArray *deps
);
Sets the list of dependency objects for this module.
deps |
The NULL-terminated list of dependencies. |
[array zero-terminated=1][element-type ModulemdDependencies][transfer none][nullable] |
Since: 1.0
void modulemd_module_add_dependencies (ModulemdModule *self
,ModulemdDependencies *dep
);
Helper function to populate the dependencies list
Since: 1.0
GPtrArray *
modulemd_module_get_dependencies (ModulemdModule *self
);
The list of dependency objects for this module.
[element-type ModulemdDependencies][transfer none]
Since: 1.0
GPtrArray *
modulemd_module_peek_dependencies (ModulemdModule *self
);
The list of dependency objects for this module.
[element-type ModulemdDependencies][transfer none]
Since: 1.1
GPtrArray *
modulemd_module_dup_dependencies (ModulemdModule *self
);
The list of dependency objects for this module.
[element-type ModulemdDependencies][transfer container]
Since: 1.1
void modulemd_module_set_description (ModulemdModule *self
,const gchar *description
);
Sets the "description" property.
Since: 1.0
const gchar *
modulemd_module_get_description (ModulemdModule *self
);
Retrieves the "description" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_description (ModulemdModule *self
);
Retrieves the "description" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_description (ModulemdModule *self
);
Retrieves a copy of the "description" for modulemd.
Since: 1.1
void modulemd_module_set_documentation (ModulemdModule *self
,const gchar *documentation
);
Sets the "documentation" property.
Since: 1.0
const gchar *
modulemd_module_get_documentation (ModulemdModule *self
);
Retrieves the "documentation" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_documentation (ModulemdModule *self
);
Retrieves the "documentation" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_documentation (ModulemdModule *self
);
Retrieves a copy of the "documentation" for modulemd.
Since: 1.1
void modulemd_module_set_eol (ModulemdModule *self
,const GDate *date
);
Sets the "eol" property.
Note: This property is obsolete. Use "servicelevels" instead. This will fail on modulemd files using the version 2 or later formats.
Since: 1.0
const GDate *
modulemd_module_get_eol (ModulemdModule *self
);
Retrieves the "eol" property.
Note: This property is obsolete. Use "servicelevels" instead. This will fail on modulemd files using the version 2 or later formats.
Since: 1.0
const GDate *
modulemd_module_peek_eol (ModulemdModule *self
);
Retrieves the "eol" property.
Note: This property is obsolete. Use "servicelevels" instead. This will fail on modulemd files using the version 2 or later formats.
Since: 1.1
GDate *
modulemd_module_dup_eol (ModulemdModule *self
);
Retrieves a copy of the "eol" property.
Note: This property is obsolete. Use "servicelevels" instead. This will fail on modulemd files using the version 2 or later formats.
Since: 1.1
void modulemd_module_set_mdversion (ModulemdModule *self
,const guint64 mdversion
);
Sets the "mdversion" property.
Since: 1.0
const guint64
modulemd_module_get_mdversion (ModulemdModule *self
);
Retrieves the "mdversion" for modulemd.
Since: 1.0
guint64
modulemd_module_peek_mdversion (ModulemdModule *self
);
Retrieves the "mdversion" for modulemd.
void modulemd_module_add_module_component (ModulemdModule *self
,ModulemdComponentModule *component
);
Adds a ModulemdComponentModule to the "module_components" hash table.
Since: 1.0
void
modulemd_module_clear_module_components
(ModulemdModule *self
);
Remove all entries from the "module_components" hash table.
Since: 1.0
void modulemd_module_set_module_components (ModulemdModule *self
,GHashTable *components
);
Sets the module_components property.
components |
The hash table of module components that comprise this module. The keys are the module name, the values are a ModulemdComponentModule containing information about that module. |
[nullable][element-type utf8 ModulemdComponentModule] |
Since: 1.0
GHashTable *
modulemd_module_get_module_components (ModulemdModule *self
);
Retrieves the "module-components" for modulemd.
A hash table containing the "module-components" property.
[element-type utf8 ModulemdComponentModule][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_module_components
(ModulemdModule *self
);
Retrieves the "module-components" for modulemd.
A hash table containing the "module-components" property.
[element-type utf8 ModulemdComponentModule][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_module_components (ModulemdModule *self
);
Retrieves the "module-components" for modulemd.
A copy of the hash table containing the "module-components" property.
[element-type utf8 ModulemdComponentModule][transfer container]
Since: 1.1
void modulemd_module_set_module_licenses (ModulemdModule *self
,ModulemdSimpleSet *licenses
);
Sets the module_licenses property.
licenses |
A ModuleSimpleSet: The licenses under which the components of this module are released. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_module_get_module_licenses (ModulemdModule *self
);
Retrieves the "module_licenses" for modulemd
Since: 1.0
ModulemdSimpleSet *
modulemd_module_peek_module_licenses (ModulemdModule *self
);
Retrieves the "module_licenses" for modulemd
Since: 1.1
ModulemdSimpleSet *
modulemd_module_dup_module_licenses (ModulemdModule *self
);
Retrieves a copy of the "module_licenses" for modulemd
Since: 1.1
void modulemd_module_set_name (ModulemdModule *self
,const gchar *name
);
Sets the "name" property.
Since: 1.0
const gchar *
modulemd_module_get_name (ModulemdModule *self
);
Retrieves the "name" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_name (ModulemdModule *self
);
Retrieves the "name" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_name (ModulemdModule *self
);
Retrieves a copy of the "name" for modulemd.
Since: 1.1
void modulemd_module_add_profile (ModulemdModule *self
,ModulemdProfile *profile
);
Adds a ModulemdProfile definition to this module.
Since: 1.0
void
modulemd_module_clear_profiles (ModulemdModule *self
);
Remove all entries from the "profiles" hash table.
Since: 1.0
void modulemd_module_set_profiles (ModulemdModule *self
,GHashTable *profiles
);
Sets the 'profiles' property.
profiles |
The profiles avaiable for this module. |
[nullable][element-type utf8 ModulemdProfile] |
Since: 1.0
GHashTable *
modulemd_module_get_profiles (ModulemdModule *self
);
Retrieves the "profiles" for modulemd.
A hash table containing the "profiles" property.
[element-type utf8 ModulemdProfile][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_profiles (ModulemdModule *self
);
Retrieves the "profiles" for modulemd.
A hash table containing the "profiles" property.
[element-type utf8 ModulemdProfile][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_profiles (ModulemdModule *self
);
Retrieves a copy of the "profiles" for modulemd.
A hash table containing a copy of the "profiles" property.
[element-type utf8 ModulemdProfile][transfer container]
Since: 1.1
void modulemd_module_set_requires (ModulemdModule *self
,GHashTable *requires
);
Sets the 'requires' property. This function was deprecated and is not valid for modulemd files of version 2 or later.
Since: 1.0
GHashTable *
modulemd_module_get_requires (ModulemdModule *self
);
Retrieves the "requires" for modulemd.
A hash table containing the "requires" property. This function was deprecated and is not valid for modulemd files of version 2 or later.
[element-type utf8 utf8][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_requires (ModulemdModule *self
);
Retrieves the "requires" for modulemd.
A hash table containing the "requires" property. This function was deprecated and is not valid for modulemd files of version 2 or later.
[element-type utf8 utf8][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_requires (ModulemdModule *self
);
Retrieves a copy of the "requires" for modulemd.
A hash table containing a copy of the "buildrequires" property.
[element-type utf8 utf8][transfer container]
Since: 1.1
void modulemd_module_set_rpm_api (ModulemdModule *self
,ModulemdSimpleSet *apis
);
Sets the rpm_api property.
apis |
A ModuleSimpleSet: The set of binary RPM packages that form the public API for this module. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_module_get_rpm_api (ModulemdModule *self
);
Retrieves the "rpm_api" for modulemd
Since: 1.0
ModulemdSimpleSet *
modulemd_module_peek_rpm_api (ModulemdModule *self
);
Retrieves the "rpm_api" for modulemd
Since: 1.1
ModulemdSimpleSet *
modulemd_module_dup_rpm_api (ModulemdModule *self
);
Retrieves a copy of the "rpm_api" for modulemd
Since: 1.1
void modulemd_module_set_rpm_artifacts (ModulemdModule *self
,ModulemdSimpleSet *artifacts
);
Sets the rpm_artifacts property.
artifacts |
A ModuleSimpleSet: The set of binary RPM packages that are contained in this module. Generally populated by the module build service. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_module_get_rpm_artifacts (ModulemdModule *self
);
Retrieves the "rpm_artifacts" for modulemd
Since: 1.0
ModulemdSimpleSet *
modulemd_module_peek_rpm_artifacts (ModulemdModule *self
);
Retrieves the "rpm_artifacts" for modulemd
Since: 1.1
ModulemdSimpleSet *
modulemd_module_dup_rpm_artifacts (ModulemdModule *self
);
Retrieves a copy of the "rpm_artifacts" for modulemd
Since: 1.1
void modulemd_module_set_rpm_buildopts (ModulemdModule *self
,GHashTable *buildopts
);
Sets the 'rpm-buildopts' property.
buildopts |
A dictionary of build options to pass to rpmbuild. Currently the only recognized key is "macros". |
[nullable][element-type utf8 utf8] |
Since: 1.0
GHashTable *
modulemd_module_get_rpm_buildopts (ModulemdModule *self
);
Retrieves the "rpm-buildopts" for modulemd.
A hash table containing the "rpm-buildopts" property.
[element-type utf8 utf8][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_rpm_buildopts (ModulemdModule *self
);
Retrieves the "rpm-buildopts" for modulemd.
A hash table containing the "rpm-buildopts" property.
[element-type utf8 utf8][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_rpm_buildopts (ModulemdModule *self
);
Retrieves a copy of the "rpm-buildopts" for modulemd.
A hash table containing the "rpm-buildopts" property.
[element-type utf8 utf8][transfer container]
Since: 1.1
void modulemd_module_add_rpm_component (ModulemdModule *self
,ModulemdComponentRpm *component
);
Adds a ModulemdComponentRpm to the "rpm_components" hash table.
Since: 1.0
void
modulemd_module_clear_rpm_components (ModulemdModule *self
);
Remove all entries from the "rpm_components" hash table.
Since: 1.0
void modulemd_module_set_rpm_components (ModulemdModule *self
,GHashTable *components
);
Sets the rpm_components property.
components |
The hash table of module components that comprise this module. The keys are the module name, the values are a ModulemdComponentRpm containing information about that module. |
[nullable][element-type utf8 ModulemdComponentRpm] |
Since: 1.0
GHashTable *
modulemd_module_get_rpm_components (ModulemdModule *self
);
Retrieves the "rpm-components" for modulemd.
A hash table containing the "rpm-components" property.
[element-type utf8 ModulemdComponentRpm][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_rpm_components (ModulemdModule *self
);
Retrieves the "rpm-components" for modulemd.
A hash table containing the "rpm-components" property.
[element-type utf8 ModulemdComponentRpm][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_rpm_components (ModulemdModule *self
);
Retrieves the "rpm-components" for modulemd.
A hash table containing the "rpm-components" property.
[element-type utf8 ModulemdComponentRpm][transfer container]
Since: 1.1
void modulemd_module_set_rpm_filter (ModulemdModule *self
,ModulemdSimpleSet *filter
);
Sets the rpm_artifacts property.
filter |
A ModuleSimpleSet: The set of binary RPM packages that are explicitly filtered out of this module. |
[nullable] |
Since: 1.0
ModulemdSimpleSet *
modulemd_module_get_rpm_filter (ModulemdModule *self
);
Retrieves the "rpm_filter" for modulemd
Since: 1.0
ModulemdSimpleSet *
modulemd_module_peek_rpm_filter (ModulemdModule *self
);
Retrieves the "rpm_filter" for modulemd
Since: 1.1
ModulemdSimpleSet *
modulemd_module_dup_rpm_filter (ModulemdModule *self
);
Retrieves a copy of the "rpm_filter" for modulemd
Since: 1.1
void
modulemd_module_clear_servicelevels (ModulemdModule *self
);
Remove all entries from the "servicelevels" hash table
Since: 1.0
void modulemd_module_set_servicelevels (ModulemdModule *self
,GHashTable *servicelevels
);
Sets the service levels for the module.
servicelevels |
A hash table of ServiceLevel objects. |
[nullable][element-type utf8 ModulemdServiceLevel] |
Since: 1.0
void modulemd_module_add_servicelevel (ModulemdModule *self
,ModulemdServiceLevel *servicelevel
);
Adds a service levels to the module. If the name already exists, it will be replaced by this entry and will release a reference on the previous entry.
Since: 1.0
GHashTable *
modulemd_module_get_servicelevels (ModulemdModule *self
);
Retrieves the service levels for the module
A hash table containing the service levels.
[element-type utf8 ModulemdServiceLevel][transfer none]
Since: 1.0
GHashTable *
modulemd_module_peek_servicelevels (ModulemdModule *self
);
Retrieves the service levels for the module
A hash table containing the service levels.
[element-type utf8 ModulemdServiceLevel][transfer none]
Since: 1.1
GHashTable *
modulemd_module_dup_servicelevels (ModulemdModule *self
);
Retrieves the service levels for the module
A hash table containing the service levels.
[element-type utf8 ModulemdServiceLevel][transfer container]
Since: 1.1
void modulemd_module_set_stream (ModulemdModule *self
,const gchar *stream
);
Sets the "stream" property.
Since: 1.0
const gchar *
modulemd_module_get_stream (ModulemdModule *self
);
Retrieves the "stream" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_stream (ModulemdModule *self
);
Retrieves the "stream" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_stream (ModulemdModule *self
);
Retrieves a copy of the "stream" for modulemd.
Since: 1.1
void modulemd_module_set_summary (ModulemdModule *self
,const gchar *summary
);
Sets the "summary" property.
Since: 1.0
const gchar *
modulemd_module_get_summary (ModulemdModule *self
);
Retrieves the "summary" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_summary (ModulemdModule *self
);
Retrieves the "summary" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_summary (ModulemdModule *self
);
Retrieves a copy of the "summary" for modulemd.
Since: 1.1
void modulemd_module_set_tracker (ModulemdModule *self
,const gchar *tracker
);
Sets the "tracker" property.
Since: 1.0
const gchar *
modulemd_module_get_tracker (ModulemdModule *self
);
Retrieves the "tracker" for modulemd.
Since: 1.0
const gchar *
modulemd_module_peek_tracker (ModulemdModule *self
);
Retrieves the "tracker" for modulemd.
Since: 1.1
gchar *
modulemd_module_dup_tracker (ModulemdModule *self
);
Retrieves a copy of the "tracker" for modulemd.
Since: 1.1
void modulemd_module_set_version (ModulemdModule *self
,const guint64 version
);
Sets the "version" property.
Since: 1.0
const guint64
modulemd_module_get_version (ModulemdModule *self
);
Retrieves the "version" for modulemd.
Since: 1.0
guint64
modulemd_module_peek_version (ModulemdModule *self
);
Retrieves the "version" for modulemd.
Since: 1.1
void modulemd_module_set_xmd (ModulemdModule *self
,GHashTable *xmd
);
Sets the 'xmd' property.
Since: 1.0
GHashTable *
modulemd_module_get_xmd (ModulemdModule *self
);
Retrieves the "xmd" for modulemd.
Since: 1.0
GHashTable *
modulemd_module_peek_xmd (ModulemdModule *self
);
Retrieves the "xmd" for modulemd.
Since: 1.1
GHashTable *
modulemd_module_dup_xmd (ModulemdModule *self
);
Retrieves a copy of the "xmd" for modulemd.
A hash table containing the "xmd" property.
[element-type utf8 GVariant][transfer container]
Since: 1.1
ModulemdModule *
modulemd_module_copy (ModulemdModule *self
);
Make a copy of the current module
Since: 1.1
gchar *
modulemd_module_dup_nsvc (ModulemdModule *self
);
Return the unique module identifier.
a string describing the unique module identifier in the form:
"NAME:STREAM:VERSION[:CONTEXT]". This string is owned by the caller and
must be freed with g_free()
.