Function
FwupdPlugincommon_version_ensure_semver_full
Declaration [src]
gchar*
fu_common_version_ensure_semver_full (
const gchar* version,
FwupdVersionFormat fmt
)
Description [src]
Builds a semver from the possibly crazy version number. Depending on the semver
value
the string will be split and a string in the correct format will be returned.
Available since: | 1.7.6 |
Parameters
version |
const gchar* |
A version number, e.g. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
fmt |
FwupdVersionFormat |
A version format, e.g. |