stats

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LanguageStat

type LanguageStat struct {
	Name       string
	Count      int
	Percentage float64
	Color      string
}

type ProjectStats

type ProjectStats struct {
	TotalFiles int
	Languages  []LanguageStat
}

func CalculateStats

func CalculateStats(r *gogit.Repository, branchName string) (*ProjectStats, error)

CalculateStats analyzes the repository content (simplified version)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL