Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeOCI = "oci" TypeDart = "dart" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageURL ¶
type PackageURL struct {
packageurl.PackageURL
FilePath string
}
func FromString ¶
func FromString(purl string) (*PackageURL, error)
func NewPackageURL ¶
func NewPackageURL(t ftypes.TargetType, metadata types.Metadata, pkg ftypes.Package) (PackageURL, error)
nolint: gocyclo
func (*PackageURL) BOMRef ¶
func (p *PackageURL) BOMRef() string
func (*PackageURL) IsOSPkg ¶
func (p *PackageURL) IsOSPkg() bool
func (*PackageURL) LangType ¶
func (p *PackageURL) LangType() ftypes.LangType
LangType returns an application type in Vul
func (*PackageURL) Package ¶
func (p *PackageURL) Package() *ftypes.Package
Click to show internal directories.
Click to hide internal directories.