Method
AppStreamValidatoradd_override
Declaration [src]
gboolean
as_validator_add_override (
AsValidator* validator,
const gchar* tag,
AsIssueSeverity severity_override,
GError** error
)
Description [src]
Override the severity of a selected tag. For most tags, the severity can not be lowered to a value that makes a validation that would otherwise fail pass (so e.g. an ERROR can not become an INFO). Some tags are explicitly allowed to have their severity lowered to enable validation of e.g. incomplete metadata during development. Increasing the severity of any tag is always allowed.
Available since: | 0.15.4 |
Parameters
tag |
const gchar* |
The issue tag to override, e.g. “release-time-missing” |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
severity_override |
AsIssueSeverity |
The new severity for the tag. |
|
error |
GError ** |
The return location for a GError* , or NULL . |