Documentation ¶
Index ¶
- func CommitMessage(cmd CommandRunner, sha string) (string, error)
- func CurrentBranch(cmd CommandRunner) (string, error)
- func HeadCommit(cmd CommandRunner) (string, error)
- func RunGit(args ...string) (content []byte, err error)
- type CommandRunner
- type CommitRangeResults
- type FileBlames
- type LineBlame
- type LineBlames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitMessage ¶ added in v0.17.0
func CommitMessage(cmd CommandRunner, sha string) (string, error)
func CurrentBranch ¶
func CurrentBranch(cmd CommandRunner) (string, error)
func HeadCommit ¶
func HeadCommit(cmd CommandRunner) (string, error)
Types ¶
type CommandRunner ¶
type CommitRangeResults ¶
func CommitRange ¶
func CommitRange(cmd CommandRunner, baseBranch string) (cr CommitRangeResults, err error)
func (CommitRangeResults) String ¶
func (gcr CommitRangeResults) String() string
type FileBlames ¶
type FileBlames map[string]LineBlames
type LineBlames ¶
type LineBlames []LineBlame
func Blame ¶
func Blame(path string, cmd CommandRunner) (lines LineBlames, err error)
Click to show internal directories.
Click to hide internal directories.