Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChurnOpts = ChurnOptions{ CommitCount: 0, SortBy: Changes, Top: 10, Path: "", ExcludePath: "", Extensions: "", Since: Date{}, Until: Date{}, OutputFormat: Tabular, }
Functions ¶
func MostChurnFiles ¶
func MostChurnFiles(repoPath string) ([]*complexity.ChurnChunk, error)
func PrintRepoStats ¶
func ReadChurn ¶
func ReadChurn(repoPath string, opts ChurnOptions) ([]*complexity.ChurnChunk, error)
Types ¶
type ChurnOptions ¶
type OutputType ¶
type OutputType = string
OutputType represents the type of output to be generated of churn subcommand
var ( JSON OutputType = "json" Tabular OutputType = "tabular" OutputFormats = []OutputType{JSON, Tabular} )
Click to show internal directories.
Click to hide internal directories.