Documentation
¶
Index ¶
- func BoolToInt(b bool) uint8
- func FindFile(dir string, regex string) (string, error)
- func OpenFileForWriting(dir, filename string) (*os.File, error)
- func RunCmd(cmnd string, arg []string) ([]byte, []byte, error)
- func RunCmdWithEnv(cmnd string, env string, arg []string) ([]byte, []byte, error)
- func RunCmdWithStdin(cmnd string, arg []string, stdin string) ([]byte, []byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFile ¶ added in v0.7.0
FindFile searches for a file in a directory that matches a regular expression.
func OpenFileForWriting ¶
OpenFileForWriting opens a file for writing, creating the directory if it doesn't exist.
func RunCmdWithEnv ¶
RunCmdWithEnv runs a command with the specified environment variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.