has_flag


Description:

[ Version ( since = "1.9.4" ) ]
public bool has_flag (RemoteFlags flag)

Finds if the remote has a specific flag.

Parameters:

this

a Remote

flag

the remote flag, e.g. fwupd_remote_flag_approval_required

Returns:

true if the flag is set