zgit

package
v0.0.0-...-98933e5 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorYellow = "\033[93m"
	ColorEnd    = "\033[0m"
)

Variables

This section is empty.

Functions

func Log

func Log(opts LogOptions) error

func NewDiffCommand

func NewDiffCommand() *cobra.Command

func NewLogCommand

func NewLogCommand() *cobra.Command

func NewShowCommand

func NewShowCommand() *cobra.Command

func NewStatusCommand

func NewStatusCommand() *cobra.Command

func NewZgitCommand

func NewZgitCommand() *cobra.Command

func Show

func Show(opts cli.Options, snapshot string) error

func Status

func Status(opts cli.Options) error

Types

type LogOptions

type LogOptions struct {
	cli.Options
	ShowPatch  bool
	IgnoreMeta bool
}

type Snapshot

type Snapshot struct {
	Name     string
	Used     string
	Creation time.Time
}

Jump to

Keyboard shortcuts

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