git

package
v8.0.0-...-a6f569c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEncountered bool

Functions

func GitDiff

func GitDiff(source string, staged bool) (<-chan *gitdiff.File, error)

GitDiff returns a channel of gitdiff.File objects from the git diff command for the given source.

func GitLog

func GitLog(source string, logOpts string) (<-chan *gitdiff.File, error)

GitLog returns a channel of gitdiff.File objects from the git log -p command for the given source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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