# Packages
Package state defines and sores the state for gs.
# Functions
GenerateBranchName generates a branch name from a commit message subject.
LoadConfig loads configuration from the provided [GitConfig].
NewService builds a new service operating on the given repository and store.
# Constants
List of guess operations.
List of guess operations.
List of guess operations.
# Variables
ErrAlreadyRestacked indicates that a branch is already restacked on top of its base.
ErrStackEditAborted is returned when the user requests for a stack edit operation to be aborted.
# Structs
BranchNeedsRestackError is returned by [Service.VerifyRestacked] when a branch needs to be restacked.
BranchOntoRequest is a request to move a branch onto another branch.
Config defines the git-spice configuration source.
ConfigOptions specifies options for the [Config].
DeletedBranchError is returned when a branch was deleted out of band.
Guesser attempts to make informed guesses about the state of a repository during initialization.
LoadBranchItem is a single branch returned by LoadBranches.
LookupBranchResponse is the response to a LookupBranch request.
NonLinearStackError is returned when a stack is not linear.
RebaseRescueRequest is a request to rescue a rebase operation.
RestackResponse is the response to a restack operation.
Service provides the core functionality of the tool.
StackEditRequest is a request to edit the order of a stack of branches.
StackEditResult is the result of a stack edit operation.
# Interfaces
GitConfigLister provides access to git-config output.
GitRepository provides read/write access to the conents of a git repository.
Store provides storage for gs.
# Type aliases
GuessOp specifies the kind of guess operation that the Guesser is performing.