Directories ¶
Path | Synopsis |
---|---|
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. |
browsertest
Package browsertest provides test helpers for browser support.
|
Package browsertest provides test helpers for browser support. |
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. |
Package cmputil provides utilities for comparing values.
|
Package cmputil provides utilities for comparing values. |
Package execedit provides the ability to invoke external editors.
|
Package execedit provides the ability to invoke external editors. |
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. |
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. |
forgetest
Package forgetest is a generated GoMock package.
|
Package forgetest is a generated GoMock package. |
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. |
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. |
shamhub
Package shamhub implements a fake GitHub-like Forge.
|
Package shamhub implements a fake GitHub-like Forge. |
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. |
gittest
Package gittest provides utilities for testing git repositories.
|
Package gittest provides utilities for testing git repositories. |
Package graphqlutil provides utilities for working with GraphQL.
|
Package graphqlutil provides utilities for working with GraphQL. |
Package httptest provides utilities for HTTP testing.
|
Package httptest provides utilities for HTTP testing. |
Package ioutil provides I/O utilities.
|
Package ioutil provides I/O utilities. |
Package logtest provides a log.Logger for testing.
|
Package logtest provides a log.Logger for testing. |
Package maputil provides utilities for working with maps.
|
Package maputil provides utilities for working with maps. |
Package mockedit provides a mock implementation of an editor.
|
Package mockedit provides a mock implementation of an editor. |
Package must provides runtime assertions.
|
Package must provides runtime assertions. |
Package osutil provides utilities for working with the os package.
|
Package osutil provides utilities for working with the os package. |
Package secret provides a layer for storing secretes.
|
Package secret provides a layer for storing secretes. |
secrettest
Package secrettest provides a cross-process testable secret.Stash.
|
Package secrettest provides a cross-process testable secret.Stash. |
Package sliceutil contains utility functions for working with slices.
|
Package sliceutil contains utility functions for working with slices. |
Package spice intends to provide the core functionality of the tool.
|
Package spice intends to provide the core functionality of the tool. |
state
Package state defines and sores the state for gs.
|
Package state defines and sores the state for gs. |
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. |
Package termtest provides utilities for testing terminal-based programs.
|
Package termtest provides utilities for testing terminal-based programs. |
Package text provides text manipulation functions.
|
Package text provides text manipulation functions. |
Package ui provides terminal widgets for git-spice.
|
Package ui provides terminal widgets for git-spice. |
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. |
uitest
Package uitest provides means of testing UI interactions.
|
Package uitest provides means of testing UI interactions. |
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. |
Click to show internal directories.
Click to hide internal directories.