Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToStabilityGroup ¶
Types ¶
type DateCounts ¶
type DateCounts []DateCount
func (DateCounts) Len ¶
func (d DateCounts) Len() int
func (DateCounts) Less ¶
func (d DateCounts) Less(i, j int) bool
func (DateCounts) Swap ¶
func (d DateCounts) Swap(i, j int)
type FunctionHistory ¶
type FunctionHistory struct { History []*HistoryElement LifeTime int EditLifeTime int FirstAppearance time.Time LastAppearance time.Time Deleted bool ID string Elements map[string]*HistoryElement First, Last *HistoryElement // contains filtered or unexported fields }
func NewFunctionHistory ¶
func NewFunctionHistory(id string) *FunctionHistory
func (*FunctionHistory) AddElement ¶
func (*FunctionHistory) Delete ¶
func (fh *FunctionHistory) Delete(commit *object.Commit)
func (*FunctionHistory) PostProcess ¶
func (fh *FunctionHistory) PostProcess()
func (*FunctionHistory) VersionsCount ¶
func (fh *FunctionHistory) VersionsCount() int
type History ¶
type History struct { Data map[string]*FunctionHistory CommitsAnalyzed int32 MaxChanged int32 CountPerCommit map[time.Time]int // contains filtered or unexported fields }
func NewHistory ¶
func NewHistory() *History
func (*History) ChartsData ¶
func (*History) CheckForDeleted ¶
func (*History) Get ¶
func (history *History) Get(funcID string) *FunctionHistory
type HistoryElement ¶
type PieRow ¶
func PieRowsFromMap ¶
Click to show internal directories.
Click to hide internal directories.