licensematcher

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package licensematcher implements a client for matching licenses using the deps.dev API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepsDevLicenseMatcher

type DepsDevLicenseMatcher struct {
	Client *datasource.CachedInsightsClient
}

DepsDevLicenseMatcher implements the LicenseMatcher interface with a deps.dev client. It sends out requests for every package version and does not perform caching.

func (*DepsDevLicenseMatcher) MatchLicenses

func (matcher *DepsDevLicenseMatcher) MatchLicenses(ctx context.Context, packages []imodels.PackageScanResult) error

Jump to

Keyboard shortcuts

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