output

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileThresholds

func CheckFileThresholds(path string, f *score.FileScore, cfg config.Config) []string

CheckFileThresholds checks a single file against thresholds.

func CheckThresholds

func CheckThresholds(result *score.RepoScore, cfg config.Config) []string

CheckThresholds checks all files against thresholds.

func FilterByMinGrade

func FilterByMinGrade(files []score.FileScore, minGrade string) []score.FileScore

FilterByMinGrade returns only files at the given size grade or worse.

func HasIssues

func HasIssues(result *score.RepoScore) bool

HasIssues returns true if the repo score has any findings.

func PrintDiffPretty

func PrintDiffPretty(result *score.DiffResult, version string)

PrintDiffPretty prints a human-readable diff report.

func PrintPretty

func PrintPretty(result *score.RepoScore, version string, quiet bool)

PrintPretty prints a human-readable table of repo scores.

func SortFiles

func SortFiles(files []score.FileScore, sortBy string)

SortFiles sorts file scores by the given key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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