components_to_collection


Description:

public string components_to_collection (FormatKind format) throws Error

Serialize all Component instances into AppStream collection 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




2022 vala-language.org