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
07e76907
ROOT
/
syft
/
formats
/
syftjson
/
model
/
package.go
Search
History
144 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
errUnknownMetadataType
Package
PackageBasicData
PackageCustomData
PackageBasicData
ID
:
string
Name
:
string
Version
:
string
Type
:
pkg.Type
FoundBy
:
string
Locations
:
[]file.Location
Licenses
:
licenses
Language
:
pkg.Language
CPEs
:
[]string
PURL
:
string
licenses
License
Value
:
string
SPDXExpression
:
string
Type
:
license.Type
URLs
:
[]string
Locations
:
[]file.Location
newModelLicensesFromValues
(licenses []string)
:
(ml []License)
PackageCustomData
MetadataType
:
pkg.MetadataType
Metadata
packageMetadataUnpacker
MetadataType
:
pkg.MetadataType
Metadata
:
json.RawMessage
unpackMetadata
(p *Package, unpacker packageMetadataUnpacker)
:
error
*licenses
UnmarshalJSON
(b []byte)
:
error
*packageMetadataUnpacker
String
()
:
string
*Package
UnmarshalJSON
(b []byte)
:
error
All occurrences
Please wait...
Page is in error, reload to recover