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.
Click to show internal directories.
Click to hide internal directories.