install

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distribute

func Distribute(basedir string, config *configs.DropprConfig) error

func FormFileName added in v0.2.1

func FormFileName(packageUrl string) string

* Form a file name based on a string conforming to the PackageURL of a cdx.Component

func GetFileName added in v0.3.0

func GetFileName(packageUrl string) string

* Form a file name based on a string conforming to the PackageURL of a cdx.Component

func NewBaseDist

func NewBaseDist(purlType string, config *configs.DropprConfig, baseDir string) *baseDist

func ParsePurl

func ParsePurl(packageUrl string) parsedPurl

Types

type Result

type Result struct {
	Success   bool
	Component cdx.Component
	Message   string
}

func ProcessComponent

func ProcessComponent(baseDir string, config *configs.DropprConfig, comp cdx.Component) (success Result)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL