components_to_catalog
Description:
public string components_to_catalog (
FormatKind format)
throws Error
Serialize all Component instances into AppStream catalog metadata.
null is returned if there is nothing to serialize.
Parameters:
this |
An instance of Metadata.
|
format |
The format to serialize the data to (XML or YAML).
|
Returns:
A string containing the YAML or XML data. Free with g_free
|