licensedetect

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package licensedetect exposes cyclonedx-gomod's license detection functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector interface {
	Detect(path, version, dir string) ([]cdx.License, error)
}

Detector is the interface that provides abstraction for license detection strategies.

Detectors are provided with a module's path, version, and local directory (in Go's module cache). The latter may be empty, if the module has not been downloaded to the module cache.

Directories

Path Synopsis
Package local provides the logic for local license detection.
Package local provides the logic for local license detection.

Jump to

Keyboard shortcuts

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