utils_build_data_id


Description:


[ Version ( since = "0.14.0" ) ]
public string utils_build_data_id (ComponentScope scope, BundleKind bundle_kind, string origin, string cid, string branch)

Builds an identifier string unique to the individual dataset using the supplied information.

Parameters:

scope

Scope of the metadata as ComponentScope e.g. as_component_scope_system

bundle_kind

Bundling system providing this data, e.g. 'package' or 'flatpak'

origin

Origin string, e.g. 'os' or 'gnome-apps-nightly'

cid

AppStream component ID, e.g. 'org.freedesktop.appstream.cli'

branch

Branch, e.g. '3-20' or 'master'


Namespace: AppStream
Package: appstream