shx

package
v0.0.0-...-380f8d5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyCmd

func CopyCmd(dst string, src string) magelib.Cmd

CopyCmd -> sh.Copy as chainable Cmd Copy robustly copies the source file to the destination, overwriting the destination if necessary.

func IsAppInstalled

func IsAppInstalled(appName string) (bool, error)

IsAppInstalled returns the install state of an specific app on linux systems

func RmCmd

func RmCmd(path string) magelib.Cmd

RmCmd -> sh.Rm as chainable Cmd Rm removes the given file or directory even if non-empty. It will not return an error if the target doesn't exist, only if the target cannot be removed.

func RunWithVCmd

func RunWithVCmd(env magelib.ArgsMap, cmd string, args ...string) magelib.CmdWithArgs

RunWithVCmd -> sh.RunWithV as chainable Cmd RunWithV is like RunWith, but always sends the command's stdout to os.Stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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