stateentity

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	Status            teamStatus
	Coauthors         []string
	PreviousHooksPath string
}

State the state of git-team

func NewStateDisabled

func NewStateDisabled() State

NewStateDisabled the constructor for the disabled state

func NewStateEnabled

func NewStateEnabled(coauthors []string, previousHooksPath string) State

NewStateEnabled the constructor for the enabled state

func (State) IsEnabled

func (state State) IsEnabled() bool

IsEnabled returns true if git-team is enabled

Jump to

Keyboard shortcuts

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