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

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 GenerateUUID

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