crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
51bb7108
ROOT
/
syft
/
pkg
/
package.go
Search
History
129 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Package
id
:
artifact.ID
Name
:
string
Version
:
string
FoundBy
:
string
Locations
:
source.LocationSet
Licenses
:
[]string
Language
:
Language
Type
:
Type
CPEs
:
[]cpe.CPE
PURL
:
string
MetadataType
:
MetadataType
Metadata
ID
()
:
artifact.ID
String
()
:
string
IsValid
(p *Package)
:
bool
Less
(i, j Package)
:
bool
Sort
(pkgs []Package)
*Package
OverrideID
(id artifact.ID)
SetID
()
merge
(other Package)
:
error
All occurrences
Please wait...
Page is in error, reload to recover