utils

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2018 License: MIT Imports: 8 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)

AskConfirmation prompts for user input to confirm a choice

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 GenerateUUID added in v0.4.5

func GenerateUUID() string

GenerateUUID returns a uid

Types

This section is empty.

Jump to

Keyboard shortcuts

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