utils

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MPL-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureStdout added in v0.1.0

func CaptureStdout(c callback) string

func Exists added in v0.0.4

func Exists(filePath string) bool

func GetCommitMessage added in v0.2.0

func GetCommitMessage() string

func SetCommmitMessageFromArgs added in v0.2.0

func SetCommmitMessageFromArgs(cmd string, url, path, name string)

func WaitUntil added in v0.0.4

func WaitUntil(out io.Writer, poll, timeout time.Duration, checkDone func() error) error

WaitUntil runs checkDone until a timeout is reached

Types

This section is empty.

Jump to

Keyboard shortcuts

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