reset

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package reset provides the global reset command for unstaging all changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the global reset command.

Types

type Runner

type Runner struct {
	Store  store.ReadWriteOperator
	Stdout io.Writer
	Stderr io.Writer
}

Runner executes the reset command.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run executes the reset command.

Jump to

Keyboard shortcuts

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