git

package
v0.62.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitExec

func GitExec(args ...string) (string, error)

func GitExecInDir

func GitExecInDir(dir string, args ...string) (string, error)

Types

type Commit

type Commit struct {
	SHA    string
	Date   string
	Author string
}

func GetFirstCommit

func GetFirstCommit(path string) (Commit, error)

func GetLastCommit

func GetLastCommit(path string) (Commit, error)

Gets the last commit that modified the file

Jump to

Keyboard shortcuts

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