licensing

package
v0.0.0-...-51f1176 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLicenseScanner

func RegisterLicenseScanner(opt ScannerOption) error

Types

type LicenseAnalyzer

type LicenseAnalyzer struct {
	// contains filtered or unexported fields
}

LicenseAnalyzer is an analyzer for licenses

func (LicenseAnalyzer) Analyze

func (LicenseAnalyzer) Required

func (a LicenseAnalyzer) Required(filePath string, _ os.FileInfo) bool

func (LicenseAnalyzer) Type

func (a LicenseAnalyzer) Type() analyzer.Type

func (LicenseAnalyzer) Version

func (a LicenseAnalyzer) Version() int

type ScannerOption

type ScannerOption struct {
	ConfigPath string
}

Jump to

Keyboard shortcuts

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