license

package
v0.4.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLicenseRefToFile

func IsLicenseRefToFile(maybeLicense string) (bool, string)

IsLicenseRefToFile The license field can refer to a file https://docs.npmjs.com/cli/v9/configuring-npm/package-json

Types

type License

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

func NewLicense

func NewLicense(classifierConfidenceLevel float64) *License

func (*License) Traverse

func (l *License) Traverse(fsys fs.FS, root string) (map[string][]string, error)

Jump to

Keyboard shortcuts

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