utils

package
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 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) (bool, error)

func CopyDir

func CopyDir(src, dest string) error

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

func CopyFile

func CopyFile(src, dest string) error

CopyFile copies a file from the src to dest

func FileExists

func FileExists(filepath string) bool

FileExists checks if the file exists at the given path

func GenerateUID

func GenerateUID() string

GenerateUID returns a uid

func GetInput

func GetInput() (string, error)

func IsDir

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