git

package
v0.0.0-...-a0986ef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright © 2025 NAME HERE dino.danic@gmail.com

Copyright © 2025 NAME HERE dino.danic@gmail.com

Copyright © 2025 NAME HERE dino.danic@gmail.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAll

func AddAll() error

func FindGitDir

func FindGitDir() (string, error)

func FindGitRoot

func FindGitRoot() (string, error)

func GetCommitsBetweenRefs

func GetCommitsBetweenRefs(ref1, ref2 string) ([]string, error)

func GetCommitsByDate

func GetCommitsByDate(date string) ([]string, error)

func GetCommitsByDateRange

func GetCommitsByDateRange(startDate, endDate string) ([]string, error)

func GetCommitsToday

func GetCommitsToday() ([]string, error)

func GetDiffBetweenRefs

func GetDiffBetweenRefs(ref1, ref2 string) (string, error)

func GetGitDiff

func GetGitDiff() (string, error)

func GetGitEditor

func GetGitEditor() string

func GetGitName

func GetGitName() string

func GetRepoName

func GetRepoName() string

func GetTags

func GetTags() ([]string, error)

Types

type CommitInfo

type CommitInfo struct {
	SHA     string
	Message string
}

func GetRecentCommits

func GetRecentCommits(limit int) ([]CommitInfo, error)

Jump to

Keyboard shortcuts

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