update_metadata


Description:

[ Version ( since = "1.0.0" ) ]
public bool update_metadata (string remote_id, string metadata_fn, string signature_fn, Cancellable? cancellable = null) throws Error

Updates the metadata.

This allows a session process to download the metadata and metadata signing file to be passed into the daemon to be checked and parsed.

The remote_id allows the firmware to be tagged so that the remote can be matched when the firmware is downloaded.

Parameters:

this

A Client

remote_id

the remote ID, e.g. `lvfs-testing`

metadata_fn

the XML metadata filename

signature_fn

the GPG signature file

cancellable

the Cancellable, or null

Returns:

true for success




2022 vala-language.org