utils_data_id_match


Description:


[ Version ( since = "0.14.0" ) ]
public bool utils_data_id_match (string data_id1, string data_id2, DataIdMatchFlags match_flags)

Checks two data IDs for equality allowing globs to match, whilst also allowing clients to whitelist sections that have to match.

Parameters:

data_id1

a data ID

data_id2

another data ID

match_flags

a DataIdMatchFlags bitfield, e.g. as_data_id_match_flag_id

Returns:

true if the IDs should be considered equal.


Namespace: AppStream
Package: appstream