utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskConfirmation

func AskConfirmation(question string, optimistic bool) (bool, error)

func CopyDir added in v0.2.0

func CopyDir(src, dest string) error

CopyDir copies a directory from src to dest, recursively copying nested directories

func CopyFile added in v0.2.0

func CopyFile(src, dest string) error

CopyFile copies a file from the src to dest

func FileExists added in v0.2.0

func FileExists(filepath string) bool

FileExists checks if the file exists at the given path

func GenerateUID added in v0.2.0

func GenerateUID() string

GenerateUID returns a uid

func GetInput added in v0.2.0

func GetInput() (string, error)

func IsDir added in v0.2.0

func IsDir(path string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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