Top |
Modulemd.ModuleModulemd.Module — Collects all information about a module: all of its streams, defaults, etc. |
gboolean modulemd_module_validate (ModulemdModule *self
,GError **error
);
self |
This ModulemdModule object. |
[in] |
error |
A GError containign the reason the object failed validation. NULL if the validation passed. |
[out] |
Since: 2.0
const gchar *
modulemd_module_get_module_name (ModulemdModule *self
);
Since: 2.0
GPtrArray *
modulemd_module_get_all_streams (ModulemdModule *self
);
A list of all available stream objects associated with this module. There may be multiple streams with the same name and different version and context. The order of items in this list is not guaranteed.
[transfer none][element-type ModulemdModuleStream]
Since: 2.0
GPtrArray * modulemd_module_get_streams_by_stream_name_as_list (ModulemdModule *self
,const gchar *stream_name
);
[rename-to modulemd_module_get_streams_by_stream_name]
A list of all available stream objects associated with a particular stream name, sorted highest to lowest by the version. The same version may have more than one associated context.
[transfer container][element-type ModulemdModuleStream]
Since: 2.0
ModulemdModuleStream * modulemd_module_get_stream_by_NSVC (ModulemdModule *self
,const gchar *stream_name
,const guint64 version
,const gchar *context
);
self |
This ModulemdModule object |
|
stream_name |
The name of the stream to retrieve |
|
version |
The version of the stream to retrieve |
|
context |
The context of the stream to retrieve |
Since: 2.0
ModulemdDefaults *
modulemd_module_get_defaults (ModulemdModule *self
);
Since: 2.0