Documentation ¶ Index ¶ func BoolToInt(b bool) uint8 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) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BoolToInt ¶ added in v0.5.0 func BoolToInt(b bool) uint8 func OpenFileForWriting ¶ func OpenFileForWriting(dir, filename string) (*os.File, error) OpenFileForWriting opens a file for writing, creating the directory if it doesn't exist. func RunCmd ¶ func RunCmd(cmnd string, arg []string) ([]byte, []byte, error) func RunCmdWithEnv ¶ func RunCmdWithEnv(cmnd string, env string, arg []string) ([]byte, []byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Directories ¶ Show internal Expand all Path Synopsis osutils Click to show internal directories. Click to hide internal directories.