dependencydiff

package
v4.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Depdiff = "Dependency-diff"

Depdiff is the exported name for dependency-diff.

Variables

This section is empty.

Functions

func GetDependencyDiffResults

func GetDependencyDiffResults(
	ctx context.Context,
	repoURI string,
	base, head string,
	checksToRun []string,
	changeTypesToCheck map[pkg.ChangeType]bool,
) ([]pkg.DependencyCheckResult, error)

GetDependencyDiffResults gets dependency changes between two given code commits BASE and HEAD along with the Scorecard check results of the dependencies, and returns a slice of DependencyCheckResult. TO use this API, an access token must be set. See https://github.com/ossf/scorecard#authentication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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