git

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Preamble gitStatus = iota
	Staged
	Unstaged
	Untracked
)

Variables

This section is empty.

Functions

func Compare

func Compare(
	line string,
	options types.Options,
	config types.Config,
	lineType types.LineType,
)

func CompareFileType

func CompareFileType(
	ext string,
	filename string,
	options types.Options,
	config types.Config,
)

func ParseGitDiffCompact

func ParseGitDiffCompact(diff string, options types.Options, config types.Config)

func ParseGitStatus

func ParseGitStatus(status []byte, options types.Options, config types.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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