Documentation
¶
Index ¶
- Variables
- func CopyIn(sourcePath, destinationPath string)
- func CreateFile(path string, data []byte)
- func GetRandomString(n int) string
- func GetTempDir() (string, error)
- func ResetEnviron()
- func RunCommand(dir, command string, args ...string) ([]byte, error)
- func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
- func RunSucceedCommand(dir, command string, args ...string)
- func ShelloutPack(command string) string
- func StringToLines(s string) (lines []string)
- func SucceedCommandOutputString(dir, command string, args ...string) string
- type RunCommandOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var LineBreak = "\n"
Functions ¶
func CreateFile ¶
func GetRandomString ¶
func GetTempDir ¶
func ResetEnviron ¶
func ResetEnviron()
func RunCommandWithOptions ¶
func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
func RunSucceedCommand ¶
func ShelloutPack ¶
func StringToLines ¶
Types ¶
type RunCommandOptions ¶
Click to show internal directories.
Click to hide internal directories.