parser

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LockfileAsBomSpdx      = customParserSpdxSBOM
	LockfileAsBomCycloneDx = customParserCycloneDXSBOM
)

Exporting as constants for use outside this package to refer to specific parsers. For example: Github reader

Variables

This section is empty.

Functions

func List

func List(experimental bool) []string

Types

type Parser

type Parser interface {
	Ecosystem() string
	Parse(lockfilePath string) (*models.PackageManifest, error)
}

func FindParser

func FindParser(lockfilePath, lockfileAs string) (Parser, error)

Directories

Path Synopsis
custom
py

Jump to

Keyboard shortcuts

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