fix

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Corrector

type Corrector func(*vex.VEX) error

func WithFilterStatus

func WithFilterStatus[T ~[]string](statuses T) Corrector

WithFixVulncheckProducts S ~[]E, E any]

func WithFixVulncheckProducts

func WithFixVulncheckProducts(product *vex.Component) Corrector

WithFixVulncheckProducts

func WithFixVulncheckPurls

func WithFixVulncheckPurls() Corrector

type FixPack

type FixPack struct {
	Params []string
	Func   func()
}

type Fixer

type Fixer struct{}

func (*Fixer) CorrectStream

func (fix *Fixer) CorrectStream(r io.Reader, w io.Writer, fncs ...Corrector) error

CorrectStream reads a VEX document from the reader r, applies some corrections and rewrites it on writer w.

Jump to

Keyboard shortcuts

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