execute

package
v1.131.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetForTesting added in v1.102.0

func ResetForTesting()

ResetForTesting restores Run to the default implementation.

Types

type RunFunc added in v1.102.0

type RunFunc func(path, command string, cmdArgs ...string) (error, string)

RunFunc is the signature for the command execution function.

var Run RunFunc = defaultRun

Run is the package-level function variable for executing commands. Tests can replace this with a mock implementation.

Jump to

Keyboard shortcuts

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