languagestats

package
v1.25.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 11 Imported by: 0

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(repo *git.Repository, commitID string) (map[string]int64, error)

GetLanguageStats calculates language stats for git repository at specified commit

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳