ocibuild_spdx_licenses (ocibuild v0.10.7)

View Source

Lookup table from a license string (lower-cased, so matching is case-insensitive) to its SPDX id. It holds the SPDX license list (generated via license-expression 30.4.4, exceptions excluded), plus spellings seen in package metadata that are not SPDX ids and the deprecated SPDX ids mapped to their replacement. Only add an alias when it is unambiguous.

Summary

Functions

lookup(LowerId)

-spec lookup(binary()) -> {ok, binary()} | error.