git

package
v0.0.0-...-0339f4c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultGit

func NewDefaultGit() (*git, error)

func NewGit

func NewGit(path string) *git

Types

type LocalGitRepo

type LocalGitRepo struct {
	// contains filtered or unexported fields
}

func NewDefaultLocalGitRepo

func NewDefaultLocalGitRepo() (*LocalGitRepo, error)

func NewLocalGitRepo

func NewLocalGitRepo(git *git) *LocalGitRepo

func (LocalGitRepo) GetCurrentBranch

func (l LocalGitRepo) GetCurrentBranch() (string, error)

func (LocalGitRepo) GetVendorAndRepo

func (l LocalGitRepo) GetVendorAndRepo() (string, error)

Jump to

Keyboard shortcuts

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