gittest

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gittest builds isolated local Git fixtures through the shared runner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, directory string) error

func Run

func Run(ctx context.Context, options Options) ([]byte, error)

Types

type Options

type Options struct {
	Directory   string
	Args        []string
	Environment []string
	Input       []byte
}

Jump to

Keyboard shortcuts

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