regenerate

package
v0.0.0-...-c665954 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regenerate

func Regenerate(env vos.Env, out io.Writer, save bool) (map[string][20]byte, error)

Regenerate generates the packages that are comprahensively tested, and writes the SHA1 hash of the generated code to a source file in this package. The test runs the regeneration (without saving the source) and checks these hashes to ensure that the tests are running with the correct generated files.

func SaveHashes

func SaveHashes(env vos.Env, hashes map[string][20]byte) error

SaveHashes saves the hashes of the generated packages to a source file in this package. The test runs the regeneration again and compares these hashes to the new values.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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