Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandRunner ¶
type CommandRunner interface {
RunGitCommand(ctx context.Context, root string, cmd *exec.Cmd) error
}
CommandRunner can be implemented to intercept the running of a `git` command in any of the plugins in this package. This can be useful for testing, logging, wrapping IO, etc... It is expected that that plugins in this package will hand over control of the exec.Cmd to the first plugin that implements this interface.
type Versioner ¶
type Versioner struct {
// contains filtered or unexported fields
}
func (*Versioner) BuildVersion ¶
func (Versioner) Description ¶
func (Versioner) PluginName ¶
func (*Versioner) ScopedPlugins ¶
func (*Versioner) WithPlugins ¶
Click to show internal directories.
Click to hide internal directories.