Versions in this module Expand all Collapse all v0 v0.0.2 Mar 26, 2021 v0.0.1 Mar 6, 2021 Changes in this version + var PathChecker = PathChecked + type AddEnvironment struct + func AddEnv(e environment.Env) (a AddEnvironment) + func (a AddEnvironment) ConfigureCommand(cmd *exec.Cmd) + type Caller interface + Call func(args []string) (b []byte, err error) + type Command struct + func New(caller Caller) (c Command) + func (c Command) Call(args ...interface{}) (b []byte, err error) + type Configure interface + ConfigureCommand func(*exec.Cmd) + type Configures struct + func (c Configures) ConfigureCommand(cmd *exec.Cmd) + type CreateWithContext struct + func WithContext(ctx context.Context) (c CreateWithContext) + func (cw CreateWithContext) NewCmd(name string, args ...string) (c *exec.Cmd, err error) + type Creator interface + Create func(name string, args ...string) (*exec.Cmd, error) + type Debug struct + func NewDebug(w io.Writer, execPath string) (d Debug) + func (d Debug) Call(args []string) (_ []byte, err error) + type DebugBuilder struct + func NewDebugBuilder(w io.Writer) (d DebugBuilder) + func (d DebugBuilder) NewCommand(execPath string) (c Command, err error) + type DefaultCreator struct + func (_ DefaultCreator) NewCmd(name string, args ...string) (c *exec.Cmd, err error) + type Error struct + Exec string + Message []byte + func (e Error) Error() (s string) + func (e Error) Unwrap() (err error) + type Executable struct + func NewExecutable(cmd string) (e Executable) + func (e Executable) Call(args []string) (b []byte, err error) + type Fail struct + func (f *Fail) Wrap(err error) error + func (f Fail) Error() string + func (f Fail) Unwrap() error + type FrozenArguments struct + type Git struct + func DefaultGit() (g Git) + func NewGit(command Caller) (g Git) + func (g Git) Status() (b []byte, err error) + type PathChecked struct + func (_ PathChecked) CreateCmd(name string, args ...string) (c *exec.Cmd, err error) + type Process struct + Stderr io.ReadCloser + Stdin io.WriteCloser + Stdout io.ReadCloser + func (p *Process) Write(b []byte) (n int, err error) + func (p Process) Wait() (err error) + type ProcessCommand struct + func (pc ProcessCommand) Start(args ...string) (p Process, err error) + type SetEnvironment struct + func SetEnv(e environment.Env) (s SetEnvironment) + func (s SetEnvironment) ConfigureCommand(cmd *exec.Cmd) + type VCS interface + Status func() (b []byte, err error)