undoconfig

package
v23.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package undoconfig undoes changes to the configuration settings stored as Git metadata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ConfigDiff

type ConfigDiff struct {
	Added   []configdomain.Key
	Changed map[configdomain.Key]undodomain.Change[string]
	Removed map[configdomain.Key]string
}

ConfigDiff describes changes made to the Git Town configuration.

func SingleCacheDiff

func SingleCacheDiff(before, after configdomain.SingleSnapshot) ConfigDiff

SingleCacheDiff provides a diff of the two given SingleCache instances.

type ConfigDiffs

type ConfigDiffs struct {
	Global ConfigDiff
	Local  ConfigDiff
}

ConfigDiffs describes the changes made to the local and global Git configuration.

func (ConfigDiffs) UndoProgram

func (self ConfigDiffs) UndoProgram() program.Program

Jump to

Keyboard shortcuts

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