git

package
v0.8.12 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(path string) (*client, error)

Types

type ReferenceGetter

type ReferenceGetter interface {
	RefName() (string, error)
}

func NewReferenceGetterWithFallback

func NewReferenceGetterWithFallback() (ReferenceGetter, error)

NewReferenceGetterWithFallback returns a reference getter that first tries to get the reference from the git folder

Jump to

Keyboard shortcuts

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