Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlwaysPresentLines ¶
type AlwaysPresentLines struct{}
func (AlwaysPresentLines) HasLines ¶
func (apl AlwaysPresentLines) HasLines(lines []int) bool
func (AlwaysPresentLines) Results ¶
func (apl AlwaysPresentLines) Results() []Line
type FileCommits ¶
type FileCommits struct {
// contains filtered or unexported fields
}
func NewFileCommitsFromMap ¶
func NewFileCommitsFromMap(m map[string][]string) FileCommits
func (FileCommits) Commits ¶
func (fc FileCommits) Commits() (commits []string)
func (FileCommits) HasCommit ¶
func (fc FileCommits) HasCommit(commit string) bool
func (FileCommits) Paths ¶
func (fc FileCommits) Paths() (paths []string)
func (FileCommits) Results ¶
func (fc FileCommits) Results() (results []File)
type FileFindResults ¶
type FileFinder ¶
type FileFinder interface {
Find(...string) (FileFindResults, error)
}
type GitBlameLineFinder ¶
type GitBlameLineFinder struct {
// contains filtered or unexported fields
}
func NewGitBlameLineFinder ¶
func NewGitBlameLineFinder(cmd git.CommandRunner, allowedCommits []string) *GitBlameLineFinder
func (*GitBlameLineFinder) Find ¶
func (gbd *GitBlameLineFinder) Find(path string) (LineFindResults, error)
type GitBlameLines ¶
type GitBlameLines struct {
// contains filtered or unexported fields
}
func (GitBlameLines) HasLines ¶
func (gbl GitBlameLines) HasLines(lines []int) bool
func (GitBlameLines) Results ¶
func (gbl GitBlameLines) Results() []Line
type GitBranchFileFinder ¶
type GitBranchFileFinder struct {
// contains filtered or unexported fields
}
func NewGitBranchFileFinder ¶
func NewGitBranchFileFinder(gitCmd git.CommandRunner, include []*regexp.Regexp, baseBranch string) GitBranchFileFinder
func (GitBranchFileFinder) Find ¶
func (gd GitBranchFileFinder) Find(pattern ...string) (FileFindResults, error)
type GlobFileFinder ¶
type GlobFileFinder struct{}
func NewGlobFileFinder ¶
func NewGlobFileFinder() GlobFileFinder
func (GlobFileFinder) Find ¶
func (gd GlobFileFinder) Find(pattern ...string) (FileFindResults, error)
type LineFindResults ¶
type LineFinder ¶
type LineFinder interface {
Find(string) (LineFindResults, error)
}
type NoopLineFinder ¶
type NoopLineFinder struct{}
func (NoopLineFinder) Find ¶
func (nlf NoopLineFinder) Find(string) (LineFindResults, error)
Click to show internal directories.
Click to hide internal directories.