get_license


Description:

[ Version ( since = "1.19" ) ]
public unowned string? get_license ()

Gets the SPDX license expression for this snap, e.

g. "GPL-3.0+".

Parameters:

this

a Snap.

Returns:

an SPDX license expression or null.




2022 vala-language.org