Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorInfo ¶
type CommitInfo ¶
type GitContext ¶
type GitContext struct { Revision string Directory string UseCommiter bool Progress bool // contains filtered or unexported fields }
func NewContext ¶
func NewContext(predicate func(string) bool) GitContext
func (*GitContext) Blame ¶
func (g *GitContext) Blame(filename string) (map[string]*CommitInfo, error)
func (*GitContext) Gitfame ¶
func (g *GitContext) Gitfame() ([]AuthorInfo, error)
func (*GitContext) Log ¶
func (g *GitContext) Log(filename string) (string, CommitInfo, error)
func (*GitContext) LsTree ¶
func (g *GitContext) LsTree() ([]string, error)
type GitContextInterface ¶
type GitContextInterface interface {
Gitfame() ([]AuthorInfo, error)
}
Click to show internal directories.
Click to hide internal directories.