util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdOutputContains

func CmdOutputContains(cmd *exec.Cmd, expected string) (bool, error)

CmdOutputContains run a given given and looks for the expected result in the commands output

func CopyFile

func CopyFile(srcFile, destFile string) error

CopyFile copies file from src to dest

func Exists added in v0.0.3

func Exists(path string) (bool, error)

Exists checks whether the file or directory exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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