Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadColors ¶
LoadColors loads the name->color map from the Linguist gem.
Types ¶
type ByteCountPerLanguage ¶ added in v1.66.0
ByteCountPerLanguage represents a counter value (bytes) per language.
type CountPerLanguage ¶ added in v1.66.0
CountPerLanguage represents a counter value (int) per language.
func FileCountStats ¶ added in v1.66.0
func FileCountStats(ctx context.Context, repoPath string, commitID string) (CountPerLanguage, error)
FileCountStats returns the file counts per language
type FileListPerLanguage ¶ added in v1.66.0
FileListPerLanguage is used to parse Linguist's breakdown output to represent the list of files per language.
Click to show internal directories.
Click to hide internal directories.