utils

package
v0.0.0-...-869d168 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

Exists checks if the given file or directory exists

Types

type NoOpWrapper

type NoOpWrapper struct{}

NoOpWrapper

func (NoOpWrapper) CombinedOutput

func (NoOpWrapper) CombinedOutput(name string, args ...string) ([]byte, error)

CombinedOutput

func (NoOpWrapper) Output

func (NoOpWrapper) Output(name string, args ...string) ([]byte, error)

Output

type Wrap

type Wrap struct{}

Wrap

func (Wrap) CombinedOutput

func (Wrap) CombinedOutput(name string, args ...string) ([]byte, error)

CombinedOutput

func (Wrap) Output

func (Wrap) Output(name string, args ...string) ([]byte, error)

Output

type Wrapper

type Wrapper interface {
	Output(name string, args ...string) ([]byte, error)
	CombinedOutput(name string, args ...string) ([]byte, error)
}

Wrapper

Jump to

Keyboard shortcuts

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