checkpoint

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCheckpointFileEmpty obviously means the checkpoint file was empty
	ErrCheckpointFileEmpty = errors.New("given checkpoint file is empty or unreadable")
	// ErrMissingOutFile no output file name argument provided
	ErrMissingOutFile = errors.New("output file not specified")
)

Functions

func Hash

func Hash(data []byte) []byte

Hash returns the hash for a checkpoint (copied form core repo - needs to be kept in sync)

func Run

func Run(inFile, outFile, format string, generate, validate, dummy bool) error

Run ... the main entry point of the command

Types

type AssetErr

type AssetErr []error

AssetErr a convenience error type

func (AssetErr) Error

func (a AssetErr) Error() string

Error outputs the mismatches in an easy to read way

Jump to

Keyboard shortcuts

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