license

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package license detects software licenses and checks them against a policy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseScanner

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

func NewLicenseScanner

func NewLicenseScanner() *LicenseScanner

func (*LicenseScanner) Close

func (s *LicenseScanner) Close() error

func (*LicenseScanner) Init

func (s *LicenseScanner) Init(cfg *core.Config) error

func (*LicenseScanner) Name

func (s *LicenseScanner) Name() string

func (*LicenseScanner) Scan

func (s *LicenseScanner) Scan(ctx context.Context, paths []string, findings chan<- core.Finding) error

func (*LicenseScanner) Type

func (s *LicenseScanner) Type() core.ScanType

Jump to

Keyboard shortcuts

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