Skip to content

Commit 43997f3

Browse files
authored
feat(types): add Ref to package (fanal#540)
1 parent 64c9124 commit 43997f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/artifact.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ type Package struct {
3737
Modularitylabel string `json:",omitempty"` // only for Red Hat based distributions
3838
BuildInfo *BuildInfo `json:",omitempty"` // only for Red Hat
3939

40+
Ref string `json:",omitempty"` // identifier which can be used to reference the component elsewhere
4041
Indirect bool `json:",omitempty"` // this package is direct dependency of the project or not
4142
DependsOn []string `json:",omitempty"` // dependencies of this package
4243

0 commit comments

Comments
 (0)