helpers

package
v0.0.0-...-4a39e04 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

Exist returns true if file/dir exist.

func MakeDir

func MakeDir(path string) error

MakeDir create a dir recursively. Equivalent to mkdir -p.

func Rm

func Rm(path string) error

Rm removes file/dir. Equivalent to rm -rf.

func Run

func Run(name string, args []string, wd string) error

Run executes spawn process and returns error or nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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