Documentation ¶
Index ¶
- Variables
- func Analyze()
- type Contributor
- func (c Contributor) Activity() string
- func (c *Contributor) AddDeletions(deletions int)
- func (c *Contributor) AddInsertions(insertions int)
- func (c Contributor) Deletions() int
- func (c Contributor) Insertions() int
- func (c *Contributor) SetEnd(end string)
- func (c *Contributor) SetStart(start string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Path string Start string Threshold int )
Functions ¶
Types ¶
type Contributor ¶
type Contributor struct {
// contains filtered or unexported fields
}
Contributor contains all details about a contributor.
func (Contributor) Activity ¶
func (c Contributor) Activity() string
Activity retrieves the activity in days.
func (*Contributor) AddDeletions ¶
func (c *Contributor) AddDeletions(deletions int)
AddDeletions increases the number of deletions.
func (*Contributor) AddInsertions ¶
func (c *Contributor) AddInsertions(insertions int)
AddInsertions increases the number of insertions.
func (Contributor) Deletions ¶
func (c Contributor) Deletions() int
Deletions retrieves the number of deletions.
func (Contributor) Insertions ¶
func (c Contributor) Insertions() int
Insertions retrieves the number of insertions.
func (*Contributor) SetEnd ¶
func (c *Contributor) SetEnd(end string)
SetEnd defines the date of the last commit.
func (*Contributor) SetStart ¶
func (c *Contributor) SetStart(start string)
SetStart defines the date of the first commit.
Click to show internal directories.
Click to hide internal directories.