Function
AppStreamutils_build_data_id
Declaration [src]
gchar*
as_utils_build_data_id (
AsComponentScope scope,
AsBundleKind bundle_kind,
const gchar* origin,
const gchar* cid,
const gchar* branch
)
Description [src]
Builds an identifier string unique to the individual dataset using the supplied information.
Available since: | 0.14.0 |
Parameters
scope |
AsComponentScope |
Scope of the metadata as |
|
bundle_kind |
AsBundleKind |
Bundling system providing this data, e.g. ‘package’ or ‘flatpak’ |
|
origin |
const gchar* |
Origin string, e.g. ‘os’ or ‘gnome-apps-nightly’ |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
cid |
const gchar* |
AppStream component ID, e.g. ‘org.freedesktop.appstream.cli’ |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
branch |
const gchar* |
Branch, e.g. ‘3-20’ or ‘master’ |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |