utils

package
v0.0.0-...-96478b5 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src, dst string) error

CopyDir copies the contents of the source directory to the destination.

func CopyFile

func CopyFile(src, dst string) error

CopyFile copies a file from src to dst.

func DirectoryExists

func DirectoryExists(path string) bool

DirectoryExists returns true if path exists and is a directory.

func ExecCommand

func ExecCommand(command string, args ...string) (string, error)

ExecCommand executes the given command and returns the combined output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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