Modulemd.Component (Private)

Modulemd.Component (Private) — Modulemd.Component methods that should be used only by internal consumers

Stability Level

Private, unless otherwise indicated

Functions

Description

Functions

modulemd_component_emit_yaml_start ()

gboolean
modulemd_component_emit_yaml_start (ModulemdComponent *self,
                                    yaml_emitter_t *emitter,
                                    GError **error);

Parameters

self

This ModulemdComponent

 

emitter

A libyaml emitter object positioned where Component start belongs in the YAML document.

[inout]

error

A GError that will return the reason for an emission error.

[out]

Returns

TRUE if the component header was emitted succesfully. FALSE and sets error appropriately if the YAML could not be emitted.

Since: 2.0


modulemd_component_emit_yaml_buildorder ()

gboolean
modulemd_component_emit_yaml_buildorder
                               (ModulemdComponent *self,
                                yaml_emitter_t *emitter,
                                GError **error);

Parameters

self

This ModulemdComponent

 

emitter

A libyaml emitter object positioned where a Component buildorder item should appear in the YAML document.

[inout]

error

A GError that will return the reason for an emission error.

[out]

Returns

TRUE if the component buildorder was emitted succesfully. FALSE and sets error appropriately if the YAML could not be emitted.

Since: 2.0

Types and Values