gitexec

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL