testingx

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyTree

func CopyTree(src string, dst string) error

CopyTree copies a directory tree from src to dst.

func PinLocalReplace

func PinLocalReplace(dir string, repoRoot string) error

PinLocalReplace rewrites the copied fixture go.mod to point the github.com/CaliLuke/loom replace directive at repoRoot.

func RepoRoot

func RepoRoot() string

RepoRoot returns the absolute repository root for the current checkout.

func RunCmd

func RunCmd(dir string, name string, args ...string) (string, error)

RunCmd runs a command in dir and returns its combined output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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