package
0.10.0
Repository: https://github.com/abhinav/git-spice.git
Documentation: pkg.go.dev

# Packages

Package storage provides a key-value storage abstraction where values are JSON-serializable structs.

# Functions

InitStore initializes the store in the given Git repository.
OpenStore opens the Store for the given Git repository.

# Constants

LatestVersion refers to the latest supported version.
Supported versions of the storage layout.

# Variables

ErrNotExist indicates that a key that was expected to exist does not exist.
ErrTrunk is returned when a trunk branch is used in a request that does not allow it.
ErrUninitialized indicates that the store is not initialized.
Null is a JSON null value.

# Structs

BranchTx is an ongoing change to the branch graph.
CachedTemplate is a change template cached in the git spice store.
Continuation includes the information needed to resume a rebase operation that was interrupted.
InitStoreRequest is a request to initialize the store in a Git repository.
LookupResponse is the response to a Lookup request.
PreparedBranch is a branch that is ready to be submitted.
Store implements storage for state tracked by gs.
UpsertRequest is a request to add or update information about a branch.
VersionMismatchError indicates that the data store we attempted to open is using a version older than this binary knows how to handle.

# Interfaces

DB provides a key-value store that holds JSON values.

# Type aliases

Version specifies the version of the state store.