util

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearWorkDir added in v0.9.4

func ClearWorkDir(workDir string) error

func FileExists

func FileExists(path string) bool

func FileGetContents added in v0.9.4

func FileGetContents(path string) (string, error)

func IsDirectory added in v0.12.3

func IsDirectory(path string) (bool, error)

func ListDirectory added in v0.12.3

func ListDirectory(path string) ([]string, error)

func Patch added in v0.9.4

func Patch(path, option, root string, reverse bool)

func PrintFatalMsg

func PrintFatalMsg(err error, path string)

func SaveCurrentDir

func SaveCurrentDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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