Method

FwupdClientrefresh_remote

Declaration [src]

gboolean
fwupd_client_refresh_remote (
  FwupdClient* self,
  FwupdRemote* remote,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Refreshes a remote by downloading new metadata.

Available since:1.4.5

Parameters

remote FwupdRemote
 

A FwupdRemote.

 The data is owned by the caller of the function.
cancellable GCancellable
 

Optional 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 for success.