Versions in this module Expand all Collapse all v0 v0.7.0 May 25, 2015 Changes in this version + type Cmd interface + Dir func(string) + Output func() ([]byte, error) + Run func() error + Start func() error + Stderr func(io.Writer) + Stdin func(io.Reader) + Stdout func(io.Writer) + Wait func() error + type File interface + Chmod func(os.FileMode) error + Close func() error + Name func() string + Read func([]byte) (int, error) + Stat func() (os.FileInfo, error) + Write func([]byte) (int, error) + type GitOS struct + func (g GitOS) Command(name string, args ...string) Cmd + func (g GitOS) LookPath(file string) (string, error) + func (g GitOS) Mkdir(name string, perm os.FileMode) error + func (g GitOS) MkdirAll(path string, perm os.FileMode) error + func (g GitOS) ReadDir(dirname string) ([]os.FileInfo, error) + func (g GitOS) Remove(name string) error + func (g GitOS) Stat(name string) (os.FileInfo, error) + func (g GitOS) TempFile(dir, prefix string) (File, error) + type OS interface + Command func(string, ...string) Cmd + LookPath func(string) (string, error) + Mkdir func(string, os.FileMode) error + MkdirAll func(string, os.FileMode) error + ReadDir func(string) ([]os.FileInfo, error) + Remove func(string) error + Stat func(string) (os.FileInfo, error) + TempFile func(string, string) (File, error)