mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 17:06:32 +01:00
feat: update licenses to including license content when SPDX expressions are unable to be determined (#3366)
--------- Signed-off-by: HeyeOpenSource <opensource@heye-international.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
co-authored by
Christopher Phillips
parent
58dc43de86
commit
f7e767fc25
@@ -31,6 +31,7 @@ type License struct {
|
||||
Type license.Type
|
||||
URLs []string `hash:"ignore"`
|
||||
Locations file.LocationSet `hash:"ignore"`
|
||||
Contents string `hash:"ignore"` // The optional binary contents of the license file
|
||||
}
|
||||
|
||||
type Licenses []License
|
||||
|
||||
Reference in New Issue
Block a user