git

package module
v0.0.0-...-5418d24 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 12 Imported by: 4

README

git

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(pathInRepo string) (*git, error)

Types

type Git

type Git interface {
	GetBranch() (branch []byte, err error)
	GetWorkingHash() (ref []byte, err error)
	GetChangedPaths(sinceRef string) file.Paths
	IsIgnored(path string) bool
	IsTracked(path string) bool
	GetRoot() (path string)
	DetectBranchChange(notify chan []byte)
	GetDefaultUpstream() string
}

Jump to

Keyboard shortcuts

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