license_to_spdx_id


Description:


[ Version ( since = "0.9.8" ) ]
public string license_to_spdx_id (string license)

Converts a non-SPDX license into an SPDX format string where possible.

Parameters:

license

a not-quite SPDX license string, e.g. "GPLv3+"

Returns:

the best-effort SPDX license string


Namespace: AppStream
Package: appstream