| Top |  |  |  |  | 
gboolean asc_result_is_ignored (AscResult *result,AsComponent *cpt);
Check if an AsComponent was set to be ignored in this result (usually due to errors).
AsBundleKind
asc_result_get_bundle_kind (AscResult *result);
Gets the bundle kind these results are for.
void asc_result_set_bundle_kind (AscResult *result,AsBundleKind kind);
Sets the kind of the bundle these results are for.
const gchar *
asc_result_get_bundle_id (AscResult *result);
Gets the ID name of the bundle (a package / Flatpak / any entity containing metadata) that these these results are generated for.
void asc_result_set_bundle_id (AscResult *result,const gchar *id);
Sets the name of the bundle these results are for.
AsComponent * asc_result_get_component (AscResult *result,const gchar *cid);
Gets the component by its component-id-
GPtrArray *
asc_result_fetch_components (AscResult *result);
Gets all components this AsResult instance contains.
GPtrArray * asc_result_get_hints (AscResult *result,const gchar *cid);
Gets hints for a component with the given component-id.
GPtrArray *
asc_result_fetch_hints_all (AscResult *result);
Get a list of all hints for all components that are registered with this result.
const gchar **
asc_result_get_component_ids_with_hints
                               (AscResult *result);
Gets list of component-IDs which do have issue hints associated with them.
gboolean asc_result_update_component_gcid (AscResult *result,AsComponent *cpt,GBytes *bytes);
Update the global component ID for the given component.
| result | an AscResult instance. | |
| cpt | The AsComponent to edit. | |
| bytes | The data to include in the global component ID, or  | [nullable] | 
gboolean asc_result_update_component_gcid_with_string (AscResult *result,AsComponent *cpt,const gchar *data);
Update the global component ID for the given component.
This is a convenience method for asc_result_update_component_gcid
| result | an AscResult instance. | |
| cpt | The AsComponent to edit. | |
| data | The data as string to include in the global component ID, or  | [nullable] | 
const gchar * asc_result_gcid_for_cid (AscResult *result,const gchar *cid);
Retrieve the global component-ID string for the given component-ID,
as long as component with the given ID is registered with this AscResult.
Otherwise, NULL is returned.
const gchar * asc_result_gcid_for_component (AscResult *result,AsComponent *cpt);
const gchar **
asc_result_get_component_gcids (AscResult *result);
Retrieve a list of all global component-IDs that this result knows of.
gboolean asc_result_add_component (AscResult *result,AsComponent *cpt,GBytes *bytes,GError **error);
Add component to the results set.
| result | an AscResult instance. | |
| cpt | The AsComponent to add. | |
| bytes | Source data used to generate the GCID hash, or  | |
| error | A GError or  | 
gboolean asc_result_add_component_with_string (AscResult *result,AsComponent *cpt,const gchar *data,GError **error);
Add component to the results set, using string data.
| result | an AscResult instance. | |
| cpt | The AsComponent to add. | |
| data | Source data used to generate the GCID hash, or  | |
| error | A GError or  | 
gboolean asc_result_remove_component (AscResult *result,AsComponent *cpt);
Remove a component from the results set.
gboolean asc_result_remove_component_full (AscResult *result,AsComponent *cpt,gboolean remove_gcid);
Remove a component from the results set.
| result | an AscResult instance. | |
| cpt | The AsComponent to remove. | |
| remove_gcid | 
 | 
gboolean asc_result_remove_component_by_id (AscResult *result,const gchar *cid);
Remove a component from the results set.
void asc_result_remove_hints_for_cid (AscResult *result,const gchar *cid);
Remove all hints that we have associated with the selected component-ID.
gboolean asc_result_has_hint (AscResult *result,AsComponent *cpt,const gchar *tag);
Test if a hint tag is associated with a given component in this result.
gboolean asc_result_add_hint_by_cid (AscResult *result,const gchar *component_id,const gchar *tag,const gchar *key1,...);
Add an issue hint for a component.
[skip]
| result | an AscResult instance. | |
| component_id | The component-ID of the affected AsComponent | |
| tag | AppStream Compose Issue hint tag | |
| key1 | First key to add a value for, or  | |
| ... | replacement keys and values for the issue explanation, terminated by  | 
gboolean asc_result_add_hint_by_cid_v (AscResult *result,const gchar *component_id,const gchar *tag,gchar **kv);
Add an issue hint for a component.
[rename-to asc_result_add_hint_by_cid]
| result | an AscResult instance. | |
| component_id | The component-ID of the affected AsComponent | |
| tag | AppStream Compose Issue hint tag | |
| kv | List of key-value pairs for replacement variables. | 
gboolean asc_result_add_hint (AscResult *result,AsComponent *cpt,const gchar *tag,const gchar *key1,...);
Add an issue hint for a component.
[skip]
| result | an AscResult instance. | |
| cpt | The affected AsComponent | |
| tag | AppStream Compose Issue hint tag | |
| key1 | First key to add a value for, or  | |
| ... | replacement keys and values for the issue explanation, terminated by  | 
gboolean asc_result_add_hint_simple (AscResult *result,AsComponent *cpt,const gchar *tag);
Add an issue hint which does not have any variables to replace in its explanation text for a component.
[skip]
| result | an AscResult instance. | |
| cpt | The affected AsComponent | |
| tag | AppStream Compose Issue hint tag | 
gboolean asc_result_add_hint_v (AscResult *result,AsComponent *cpt,const gchar *tag,gchar **kv);
Add an issue hint for a component.
[rename-to asc_result_add_hint]
| result | an AscResult instance. | |
| cpt | The affected AsComponent | |
| tag | AppStream Compose Issue hint tag | |
| kv | List of key-value pairs for replacement variables. |