git

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitChanges

func CommitChanges(message string) error

func GetStagedDiff

func GetStagedDiff() (string, error)

func GetUnstagedDiff added in v0.0.5

func GetUnstagedDiff() (string, error)

Types

type DiffSummary added in v0.0.14

type DiffSummary struct {
	Files []FileDiff
}

func ParseDiffSummary added in v0.0.14

func ParseDiffSummary(diff string) DiffSummary

type FileDiff added in v0.0.14

type FileDiff struct {
	Name         string
	AddedLines   int
	DeletedLines int
}

Jump to

Keyboard shortcuts

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