Documentation ¶
Index ¶
- func Exists(path string) bool
- func ExtendCommandEnvironment(cmd *exec.Cmd, env map[string]string)
- func Read(filename string) ([]byte, error)
- func ReadString(filename string) (string, error)
- func RunCommand(cmd *exec.Cmd) (string, error)
- func RunCommandWithPipes(cmd *exec.Cmd) error
- func Write(filename string, bytes []byte, perm fs.FileMode) error
- func WriteString(filename string, contents string, perm fs.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtendCommandEnvironment ¶ added in v0.2.0
func Read ¶ added in v0.1.9
Read wraps calls to os.ReadFile, ensuring that errors are wrapped in a stack trace
func ReadString ¶ added in v0.1.9
ReadString wraps calls to os.ReadFile, ensuring that errors are wrapped in a stack trace
func RunCommandWithPipes ¶ added in v0.2.0
RunCommandWithPipes runs a long running command and continuously streams its output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.