undostash

package
v14.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package undostash restores changes to the Git stash.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineUndoStashProgram

func DetermineUndoStashProgram(beginStashSize, endStashSize gitdomain.StashSize) program.Program

Types

type StashDiff

type StashDiff struct {
	// the number of entries added to the Git stash (positive = entries added, negative = entries removed, 0 = nothing added)
	EntriesAdded int
}

StashDiff describes the changes made to the Git stash.

func NewStashDiff

func NewStashDiff(before, after gitdomain.StashSize) StashDiff

func (StashDiff) Program

func (self StashDiff) Program() program.Program

Jump to

Keyboard shortcuts

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