downloadmismatch

package
v0.0.0-...-668aac7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package downloadmismatch downloads compare build mismatch outputs.

Package downloadmismatch downloads compare build mismatch outputs.

Index

Constants

View Source
const (

	// DownloadDir is the directory name of downloaded mismatched.
	DownloadDir = "reclient_mismatches"
	// LocalOutputDir stores all the local outputs of one mismatch.
	LocalOutputDir = "local"
	// RemoteOutputDir stores all the remote outputs of one mismatch.
	RemoteOutputDir = "remote"
)

Variables

This section is empty.

Functions

func DiffOutputDir

func DiffOutputDir(outputDir string) error

DiffOutputDir visits the directory storing compare build outputs downloaded by this package.

func DiffReadableString

func DiffReadableString(outFp, fp1, fp2 string) error

DiffReadableString diffs the strings outputs of the two inputs and store the diff outputs in outFp.

func DownloadMismatches

func DownloadMismatches(logDir string, outputDir string, grpcClient *client.Client) error

DownloadMismatches finds mismatches from rbe_metrics.pb in the outputDir using the instance and service provided. The downloaded build outputs will be stored in #outputDir/reclient_mismatches/#actionDigest/#local_or_remote/#outputDigest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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