bash

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package bash

Copyright © 2023 zcubbs https://github.com/zcubbs

Package bash

Copyright © 2023 zcubbs https://github.com/zcubbs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chmod

func Chmod(path string, perm os.FileMode, debug bool) error

func DirExists

func DirExists(path string) bool

func ExecuteCmd

func ExecuteCmd(cmd string, output bool, args ...string) error

func ExecuteScript

func ExecuteScript(script string, output bool, commands ...string) (bool, error)

func ExtractTarGz added in v1.1.1

func ExtractTarGz(tarPath string, destPath string) error

func ExtractTarGzWithFile added in v1.1.1

func ExtractTarGzWithFile(tarPath string, file string, destPath string, debug bool) error

func FileExists

func FileExists(path string) bool

func Mkdir

func Mkdir(path string, perm os.FileMode) error

func RmDir

func RmDir(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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