Documentation ¶ Index ¶ type Runner func NewRunner() *Runner func (r *Runner) Run(ctx context.Context, cwd string, args ...string) ([]byte, error) func (r *Runner) RunText(ctx context.Context, cwd string, args ...string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Runner ¶ type Runner struct{} Runner executes git commands with GIT_* variables scrubbed from the environment. func NewRunner ¶ func NewRunner() *Runner func (*Runner) Run ¶ func (r *Runner) Run(ctx context.Context, cwd string, args ...string) ([]byte, error) func (*Runner) RunText ¶ func (r *Runner) RunText(ctx context.Context, cwd string, args ...string) (string, error) Source Files ¶ View all Source files gitexec.go Click to show internal directories. Click to hide internal directories.