Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
func (LineBlames) GetCommit ¶
func (lbs LineBlames) GetCommit(line int) string
Click to show internal directories.
Click to hide internal directories.