Top |
guint64
modulemd_translation_get_version (ModulemdTranslation *self
);
const gchar *
modulemd_translation_get_module_name (ModulemdTranslation *self
);
const gchar *
modulemd_translation_get_module_stream
(ModulemdTranslation *self
);
guint64
modulemd_translation_get_modified (ModulemdTranslation *self
);
ModulemdTranslation * modulemd_translation_parse_yaml (ModulemdSubdocumentInfo *subdoc
,GError **error
);
subdoc |
A ModulemdSubdocumentInfo representing a translation document. |
[in] |
error |
A GError that will return the reason for a parsing or validation error. |
[out] |
A newly-allocated ModulemdTranslation object
read from the YAML. NULL if a parse or validation error occurred and sets
error
appropriately.
Since: 2.0
gboolean modulemd_translation_emit_yaml (ModulemdTranslation *self
,yaml_emitter_t *emitter
,GError **error
);
self |
This ModulemdTranslation |
|
emitter |
A libyaml emitter object positioned where Translation data belongs in the YAML document. |
[inout] |
error |
A GError that will return the reason for an emission or validation error. |
[out] |
TRUE if the translation data was emitted successfully. FALSE and sets
error
appropriately if the YAML could not be emitted.
Since: 2.0