Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ExtractAdditions = func(st Stat) int {
return st.Additions
}
ExtractAdditions extract the adds section of the given stat
var ExtractCommits = func(st Stat) int {
return st.Commits
}
ExtractCommits extract the commit section of the given stat
var ExtractDeletions = func(st Stat) int {
return st.Deletions
}
ExtractDeletions extract the rms section of the given stat
Functions ¶
This section is empty.
Types ¶
type Extract ¶ added in v1.1.0
Extract is a function that converts a multiple stat into a single stat
type Stat ¶
type Stat struct {
Additions, Deletions, Commits int
}
Stat represents an user adds, rms and commits count
