Method

FwupdReleasehas_tag

since: 1.7.3

Declaration [src]

gboolean
fwupd_release_has_tag (
  FwupdRelease* self,
  const gchar* tag
)

Description [src]

Finds out if the release has a specific tag.

Available since: 1.7.3

Parameters

tag

Type: const gchar*

The update tag, e.g. vendor-factory-2021q1.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the release matches.