cmdutils

package
v0.0.0-...-ca61a64 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRevParseFailed = errors.New("git rev-parse HEAD failed")

Functions

func EnableProfiling

func EnableProfiling(kind string) (onEnd func())

func ExitWithErr

func ExitWithErr(err error)

func ExitWithErrs

func ExitWithErrs(errs []error)

func RunOnRepo

func RunOnRepo(ctx context.Context, wr io.Writer, repoDir string, run func() error) error

func StartMemLogs

func StartMemLogs() (onEnd func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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