git

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBranch

func GetBranch(dir string) string

GetBranch returns the current git branch name

func GetModifiedFiles

func GetModifiedFiles(dir string) map[string]bool

GetModifiedFiles returns a map of modified files in a git repository

Types

This section is empty.

Jump to

Keyboard shortcuts

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