Method

AppStreamPoolload

Declaration [src]

gboolean
as_pool_load (
  AsPool* pool,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Builds an index of all found components in the watched locations. The function will try to get as much data into the pool as possible, so even if the update completes with FALSE, it might still have added components to the pool.

The function will load from all possible data sources, preferring caches if they are up to date.

Parameters

cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if update completed without error.