commandconfig

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: 4 Imported by: 0

Documentation

Overview

Package commandconfig provides reusable infrastructure for the configuration of Git Town commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchesAndTypes

type BranchesAndTypes map[gitdomain.LocalBranchName]configdomain.BranchType

func NewBranchesAndTypes

func NewBranchesAndTypes(branches gitdomain.LocalBranchNames, fullConfig configdomain.FullConfig) BranchesAndTypes

func (*BranchesAndTypes) Add

func (self *BranchesAndTypes) Add(branch gitdomain.LocalBranchName, fullConfig FullConfig)

func (*BranchesAndTypes) AddMany

func (self *BranchesAndTypes) AddMany(branches gitdomain.LocalBranchNames, fullConfig FullConfig)

func (BranchesAndTypes) Keys

type FullConfig

type FullConfig interface {
	BranchType(branch gitdomain.LocalBranchName) configdomain.BranchType
}

Jump to

Keyboard shortcuts

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