Method
AppStreamPoolget_components_by_bundle_id
Declaration [src]
AsComponentBox*
as_pool_get_components_by_bundle_id (
AsPool* pool,
AsBundleKind kind,
const gchar* bundle_id,
gboolean match_prefix
)
Description [src]
Find components that are provided by a bundle with a specific ID by its prefix. For example, given a AS_BUNDLE_KIND_FLATPAK and a bundle_id “org.kde.dolphin/”, it will list all the components that bundle dolphin. If the bundle_id is “org.kde.dolphin/x86_64” it will give those with also the architecture.
Available since: | 0.16.0 |
Parameters
kind |
AsBundleKind |
The kind of the bundle we are looking for. |
|
bundle_id |
const gchar* |
The bundle ID to match, as specified in |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
match_prefix |
gboolean |
|
Return value
Returns: | AsComponentBox |
An |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |