status

package
v0.0.0-...-b7a57f2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FPrintMultirepoStatus

func FPrintMultirepoStatus(buf *bytes.Buffer, spacing string, repos MultiRepoStatus, color func(interface{}) aurora.Value)

Types

type MultiRepoStatus

type MultiRepoStatus map[string]git.Status

type S

type S struct {
	Staging   MultiRepoStatus
	Unstaged  MultiRepoStatus
	Untracked MultiRepoStatus
	Conflicts MultiRepoStatus

	Repos []string
}

func New

func New() *S

func (*S) AddRepo

func (s *S) AddRepo(repoName string)

AddRepo iniitializes the state maps with a new repo

func (*S) String

func (s *S) String() string

Jump to

Keyboard shortcuts

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