state

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package state handles repository state

Index

Constants

This section is empty.

Variables

View Source
var DefaultBranches = []string{"main", "master"}

DefaultBranches are the default branches to consider as 'default' (not specifically checked out)

Functions

func Current

func Current(settings Settings) error

Current will write state for the inputs

Types

type Settings

type Settings struct {
	Writer   io.Writer
	Dir      string
	Branches []string
	Quick    bool
	Color    bool
}

Settings are the state settings to operate on

Jump to

Keyboard shortcuts

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