stateentity

package
Version: v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 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
}

State the state of git-team

func NewStateDisabled

func NewStateDisabled() State

NewStateDisabled the constructor for the disabled state

func NewStateEnabled

func NewStateEnabled(coauthors []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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL