get_components_by_provided_item


Description:

[ CCode ( cname = "as_pool_get_components_by_provided_item_gi" ) ]
public GenericArray<Component> get_components_by_provided_item (ProvidedKind kind, string item)

Find components in the AppStream data pool which provide a certain item.

This function fully transfers ownership of the returned container, to be used in GIR bindings.

Parameters:

this

An instance of Pool.

kind

An AsProvidesKind

item

The value of the provided item.

Returns:

an array of Component objects which have been found.