Top |
Modulemd.DependenciesModulemd.Dependencies — Object to represent build-time and runtime dependencies of a module stream. |
ModulemdDependencies *
modulemd_dependencies_new (void
);
Since: 2.0
ModulemdDependencies *
modulemd_dependencies_copy (ModulemdDependencies *self
);
Create a copy of this ModulemdDependencies object.
Since: 2.0
void modulemd_dependencies_add_buildtime_stream (ModulemdDependencies *self
,const gchar *module_name
,const gchar *module_stream
);
Add a single stream of a module that is required to build another dependent module. The matrix of streams and module names will be calculated by the build-system. If the provided module name is already present, the streams will be added (with deduplication).
self |
This ModulemdDependencies |
|
module_name |
The name of the module to depend on. |
|
module_stream |
The name of the module stream to depend on. |
Since: 2.0
void modulemd_dependencies_set_empty_buildtime_dependencies_for_module (ModulemdDependencies *self
,const gchar *module_name
);
Adds a module and inserts an empty list for it as buildtime dependency.
Since: 2.0
GStrv
modulemd_dependencies_get_buildtime_modules_as_strv
(ModulemdDependencies *self
);
[rename-to modulemd_dependencies_get_buildtime_modules]
Since: 2.0
GStrv modulemd_dependencies_get_buildtime_streams_as_strv (ModulemdDependencies *self
,const gchar *module
);
[rename-to modulemd_dependencies_get_buildtime_streams]
An ordered list of module streams associated with the specified module that are required at build-time.
Since: 2.0
void modulemd_dependencies_add_runtime_stream (ModulemdDependencies *self
,const gchar *module_name
,const gchar *module_stream
);
Adds a module and its stream that is required at runtime by a dependent module. The matrix of streams and module names will be calculated by the build-system. If the listed provided module name is already present, the streams will be added (with deduplication).
self |
This ModulemdDependencies |
|
module_name |
The name of the module to depend on. |
|
module_stream |
The name of the module stream to depend on. |
Since: 2.0
void modulemd_dependencies_set_empty_runtime_dependencies_for_module (ModulemdDependencies *self
,const gchar *module_name
);
Adds a module and inserts an empty list for it as runtime dependency.
Since: 2.0
GStrv
modulemd_dependencies_get_runtime_modules_as_strv
(ModulemdDependencies *self
);
[rename-to modulemd_dependencies_get_runtime_modules]
Since: 2.0
GStrv modulemd_dependencies_get_runtime_streams_as_strv (ModulemdDependencies *self
,const gchar *module
);
[rename-to modulemd_dependencies_get_runtime_streams]
An ordered list of module streams associated with the specified module that are required at run-time.
Since: 2.0