Documentation ¶
Overview ¶
Package bash
Copyright © 2023 zcubbs https://github.com/zcubbs
Package bash ¶
Copyright © 2023 zcubbs https://github.com/zcubbs
Index ¶
- func Chmod(path string, perm os.FileMode, debug bool) error
- func DirExists(path string) bool
- func ExecuteCmd(cmd string, output bool, args ...string) error
- func ExecuteScript(script string, output bool, commands ...string) (bool, error)
- func ExtractTarGz(tarPath string, destPath string) error
- func ExtractTarGzWithFile(tarPath string, file string, destPath string, debug bool) error
- func FileExists(path string) bool
- func Mkdir(path string, perm os.FileMode) error
- func RmDir(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteScript ¶
func ExtractTarGz ¶ added in v1.1.1
func ExtractTarGzWithFile ¶ added in v1.1.1
func FileExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.