mergevalidation

package
v0.205.11 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DeadcodeCommand = "go run ./cmd/wb deadcode"

Variables

This section is empty.

Functions

func ImportedMainDeadcodeEntry

func ImportedMainDeadcodeEntry(report quality.VerificationReport) (quality.VerificationEntry, bool)

func RegressionWithImportedMain

func RegressionWithImportedMain(baseline, candidate quality.VerificationReport, imported *ImportedMainDeadcode) error

func ValidImportedMainDeadcodeReport

func ValidImportedMainDeadcodeReport(report quality.VerificationReport) bool

Types

type ImportedMainDeadcode

type ImportedMainDeadcode struct {
	CandidateSHA string `json:"candidate_sha"`
	TargetSHA    string `json:"target_sha"`
	MergeSHA     string `json:"merge_sha"`
	ImportedSHA  string `json:"imported_sha"`
	// OriginMainSHA is the authoritative main head at initial validation. It
	// may be later than ImportedSHA; resumes require it to remain an ancestor
	// of the freshly fetched authoritative main head.
	OriginMainSHA string                     `json:"origin_main_sha"`
	Validation    quality.VerificationReport `json:"validation"`
}

ImportedMainDeadcode binds the one imported main parent to the candidate and the exact target whose validation it may supplement.

func WithImportedMainAttestation

func WithImportedMainAttestation(baseline, candidate quality.VerificationReport, attest func() (*ImportedMainDeadcode, error)) (*ImportedMainDeadcode, error)

Jump to

Keyboard shortcuts

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