git

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommits

func GetCommits(params LogParams) ([]string, error)

func GetEmail

func GetEmail(dir string) (string, error)

func GetRemote

func GetRemote(dir, targetRemote string) (string, error)

func IsGitRepo

func IsGitRepo(dir string) (bool, error)

Types

type LogParams

type LogParams struct {
	Dir        string
	Since      string
	Email      string
	CommitLink string
}

func GetLogParams

func GetLogParams(dir, targetRemote, since string) (LogParams, error)

Jump to

Keyboard shortcuts

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