Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileLanguage ¶
func GetFileLanguage(ctx context.Context, gitRepo *git.Repository, treeish, treePath string) (string, error)
GetFileLanguage tries to get the (linguist) language of the file content
func GetLanguageStats ¶
func GetLanguageStats(ctx context.Context, repo *git.Repository, commitID string) (map[string]int64, error)
GetLanguageStats calculates language stats for git repository at specified commit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.