display

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowChangesPreview

func ShowChangesPreview(stats *FileStatistics)

ShowChangesPreview displays a preview of changes with line statistics

func ShowCommitMessage

func ShowCommitMessage(message string)

ShowCommitMessage displays the commit message in a styled panel

func ShowFileStatistics

func ShowFileStatistics(stats *FileStatistics)

ShowFileStatistics displays file statistics with colored output

Types

type FileStatistics

type FileStatistics struct {
	StagedFiles    []string
	UnstagedFiles  []string
	UntrackedFiles []string
	TotalFiles     int
	LinesAdded     int
	LinesDeleted   int
}

FileStatistics holds statistics about changed files

Jump to

Keyboard shortcuts

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