Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OSGetwd is a stub for os.Getwd OSGetwd = os.Getwd // Run is a wrapper `exec.Cmd` used for stubbing purposes. Run = func(cmd *exec.Cmd) error { return cmd.Run() } // StubStdinPipe stubs the cmd.StdinPipe method (used for testing purposes) StubStdinPipe = func(cmd *exec.Cmd) (io.WriteCloser, error) { return cmd.StdinPipe() } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.