Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
// contains filtered or unexported fields
}
func (Commit) GetRootCmd ¶
type Committer ¶ added in v0.11.3
type Committer interface {
Authors(ctx context.Context) ([]string, error)
Commit(ctx context.Context, msg []byte, opts git.CommitOptions) error
CurrentBranch() (string, error)
}
Committer is the subset of *git.Client the commit command consumes: load the author list for the form, detect the current branch for the issue-hint prefill, and write the commit. Declared here (the consuming package) rather than in package git so the command owns its git surface and tests can substitute a fake — mirrors the pruner / BranchClient pattern elsewhere in cmd/.
Click to show internal directories.
Click to hide internal directories.