Source Files
¶
- auth.go
- auth_login.go
- auth_logout.go
- auth_status.go
- bottom.go
- branch.go
- branch_checkout.go
- branch_create.go
- branch_delete.go
- branch_edit.go
- branch_fold.go
- branch_onto.go
- branch_rename.go
- branch_restack.go
- branch_split.go
- branch_squash.go
- branch_submit.go
- branch_track.go
- branch_untrack.go
- commit.go
- commit_amend.go
- commit_create.go
- commit_fixup.go
- commit_pick.go
- commit_split.go
- down.go
- downstack.go
- downstack_edit.go
- downstack_submit.go
- downstack_track.go
- dumpmd_disable.go
- editor.go
- help.go
- internal.go
- log.go
- log_long.go
- log_short.go
- main.go
- profile_disable.go
- rebase.go
- rebase_abort.go
- rebase_continue.go
- remote.go
- repo.go
- repo_init.go
- repo_restack.go
- repo_sync.go
- shell.go
- shell_completion.go
- stack.go
- stack_delete.go
- stack_edit.go
- stack_restack.go
- stack_submit.go
- top.go
- trunk.go
- up.go
- upstack.go
- upstack_delete.go
- upstack_onto.go
- upstack_restack.go
- upstack_submit.go
- version.go
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
browser
Package browser provides a means of opening a URL in the user's default web browser.
|
Package browser provides a means of opening a URL in the user's default web browser. |
|
browser/browsertest
Package browsertest provides test helpers for browser support.
|
Package browsertest provides test helpers for browser support. |
|
cli/experiment
Package experiment adds support to the Kong CLI for marking commands as experimental.
|
Package experiment adds support to the Kong CLI for marking commands as experimental. |
|
cli/shorthand
Package shorthand implements support for shorthand commands for the git-spice CLI.
|
Package shorthand implements support for shorthand commands for the git-spice CLI. |
|
cmputil
Package cmputil provides utilities for comparing values.
|
Package cmputil provides utilities for comparing values. |
|
execedit
Package execedit provides the ability to invoke external editors.
|
Package execedit provides the ability to invoke external editors. |
|
fixturetest
Package fixturetest allows generating values using a possibly-random source on the first run of a test, and stores it in a file for subsequent runs.
|
Package fixturetest allows generating values using a possibly-random source on the first run of a test, and stores it in a file for subsequent runs. |
|
forge
Package forge provides an abstraction layer between git-spice and the underlying forge (e.g.
|
Package forge provides an abstraction layer between git-spice and the underlying forge (e.g. |
|
forge/forgetest
Package forgetest implements utilities for testing Forge implementations.
|
Package forgetest implements utilities for testing Forge implementations. |
|
forge/github
Package github provides a wrapper around GitHub's APIs in a manner compliant with the forge.Forge interface.
|
Package github provides a wrapper around GitHub's APIs in a manner compliant with the forge.Forge interface. |
|
forge/gitlab
Package gitlab provides a wrapper around GitLab's APIs in a manner compliant with the forge.Forge interface.
|
Package gitlab provides a wrapper around GitLab's APIs in a manner compliant with the forge.Forge interface. |
|
forge/shamhub
Package shamhub implements a fake GitHub-like Forge.
|
Package shamhub implements a fake GitHub-like Forge. |
|
forge/stacknav
Package stacknav provides support for creating stack navigation comments and descriptions.
|
Package stacknav provides support for creating stack navigation comments and descriptions. |
|
git
Package git provides access to the Git CLI with a Git library-like interface.
|
Package git provides access to the Git CLI with a Git library-like interface. |
|
git/gittest
Package gittest provides utilities for testing git repositories.
|
Package gittest provides utilities for testing git repositories. |
|
graph
Package graph provides general-use graph algorithm implementations.
|
Package graph provides general-use graph algorithm implementations. |
|
graphqlutil
Package graphqlutil provides utilities for working with GraphQL.
|
Package graphqlutil provides utilities for working with GraphQL. |
|
handler/autostash
Package autostash implements automatic stashing and restoration of uncommitted changes.
|
Package autostash implements automatic stashing and restoration of uncommitted changes. |
|
handler/checkout
Package checkout implements a Handler to change branches in a stack.
|
Package checkout implements a Handler to change branches in a stack. |
|
handler/cherrypick
Package cherrypick implements a handler for cherry-pick operations.
|
Package cherrypick implements a handler for cherry-pick operations. |
|
handler/delete
Package delete implements support for branch deletion with git-spice.
|
Package delete implements support for branch deletion with git-spice. |
|
handler/fixup
Package fixup implements handlers for fixing up commits.
|
Package fixup implements handlers for fixing up commits. |
|
handler/list
Package list defines handlers that list the repository state.
|
Package list defines handlers that list the repository state. |
|
handler/restack
Package restack implements business logic for high-level restack operations.
|
Package restack implements business logic for high-level restack operations. |
|
handler/split
Package split implements logic for branch split commands.
|
Package split implements logic for branch split commands. |
|
handler/squash
Package squash implements logic for squash commands.
|
Package squash implements logic for squash commands. |
|
handler/submit
Package submit implements change submission handling.
|
Package submit implements change submission handling. |
|
handler/sync
Package sync implements synchronization commands.
|
Package sync implements synchronization commands. |
|
handler/track
Package track implements the Handler for various 'track' commands.
|
Package track implements the Handler for various 'track' commands. |
|
httptest
Package httptest provides utilities for HTTP testing.
|
Package httptest provides utilities for HTTP testing. |
|
iterutil
Package iterutil contains utilities for working with iterators.
|
Package iterutil contains utilities for working with iterators. |
|
mockedit
Package mockedit provides a mock implementation of an editor.
|
Package mockedit provides a mock implementation of an editor. |
|
must
Package must provides runtime assertions.
|
Package must provides runtime assertions. |
|
osutil
Package osutil provides utilities for working with the os package.
|
Package osutil provides utilities for working with the os package. |
|
scanutil
Package scanutil offers tools to use with a bufio.Scanner.
|
Package scanutil offers tools to use with a bufio.Scanner. |
|
secret
Package secret provides a layer for storing secretes.
|
Package secret provides a layer for storing secretes. |
|
secret/secrettest
Package secrettest provides a cross-process testable secret.Stash.
|
Package secrettest provides a cross-process testable secret.Stash. |
|
silog
Package silog implements a structured logger for CLI usage.
|
Package silog implements a structured logger for CLI usage. |
|
silog/silogtest
Package silogtest provides a logger for testing.
|
Package silogtest provides a logger for testing. |
|
sliceutil
Package sliceutil contains utility functions for working with slices.
|
Package sliceutil contains utility functions for working with slices. |
|
spice
Package spice intends to provide the core functionality of the tool.
|
Package spice intends to provide the core functionality of the tool. |
|
spice/state
Package state defines and sores the state for gs.
|
Package state defines and sores the state for gs. |
|
spice/state/statetest
Package statetest provides utilities for testing code that makes use of the state package.
|
Package statetest provides utilities for testing code that makes use of the state package. |
|
spice/state/storage
Package storage provides a key-value storage abstraction where values are JSON-serializable structs.
|
Package storage provides a key-value storage abstraction where values are JSON-serializable structs. |
|
termtest
Package termtest provides utilities for testing terminal-based programs.
|
Package termtest provides utilities for testing terminal-based programs. |
|
text
Package text provides text manipulation functions.
|
Package text provides text manipulation functions. |
|
ui
Package ui provides terminal widgets for git-spice.
|
Package ui provides terminal widgets for git-spice. |
|
ui/fliptree
Package fliptree renders a tree of nodes as text in reverse: children first, then parent.
|
Package fliptree renders a tree of nodes as text in reverse: children first, then parent. |
|
ui/uitest
Package uitest provides means of testing UI interactions.
|
Package uitest provides means of testing UI interactions. |
|
ui/widget
Package widget implements more complex user interface components on top of the primitives offered in the ui package.
|
Package widget implements more complex user interface components on top of the primitives offered in the ui package. |
|
tools
|
|
|
ci/install-git
command
install-git downloads and installs a specific version of Git to the given prefix.
|
install-git downloads and installs a specific version of Git to the given prefix. |
|
ci/prepare-release
command
prepare-releases prepares a release of git-spice for CI.
|
prepare-releases prepares a release of git-spice for CI. |
|
ci/test-matrix
command
test-matrix generates the matrix for the "test" job in the CI pipeline.
|
test-matrix generates the matrix for the "test" job in the CI pipeline. |
Click to show internal directories.
Click to hide internal directories.