type Runner …
const maxInFlight …
func (runner *Runner) initialize() { … }
var modConcurrencyError …
var verb …
var directory …
func invLabels(inv Invocation) []label.Label { … }
func (runner *Runner) Run(ctx context.Context, inv Invocation) (*bytes.Buffer, error) { … }
func (runner *Runner) RunPiped(ctx context.Context, inv Invocation, stdout, stderr io.Writer) error { … }
func (runner *Runner) RunRaw(ctx context.Context, inv Invocation) (*bytes.Buffer, *bytes.Buffer, error, error) { … }
func (runner *Runner) runConcurrent(ctx context.Context, inv Invocation) (*bytes.Buffer, *bytes.Buffer, error, error) { … }
func (runner *Runner) runPiped(ctx context.Context, inv Invocation, stdout, stderr io.Writer) (error, error) { … }
type Invocation …
func (i *Invocation) runWithFriendlyError(ctx context.Context, stdout, stderr io.Writer) (friendlyError error, rawError error) { … }
func (i *Invocation) logf(format string, args ...any) { … }
func (i *Invocation) run(ctx context.Context, stdout, stderr io.Writer) error { … }
var DebugHangingGoCommands …
func runCmdContext(ctx context.Context, cmd *exec.Cmd) (err error) { … }
func HandleHangingGoCommand(start time.Time, cmd *exec.Cmd) { … }
func cmdDebugStr(cmd *exec.Cmd) string { … }
func WriteOverlays(overlay map[string][]byte) (filename string, cleanup func(), err error) { … }