git

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromURL

func FromURL(rawURL string) (remote.Source, error)

func New

func New(u url.URL) remote.Source

Types

type Git

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

func (*Git) Poll

func (gc *Git) Poll(ctx context.Context, targetDir string) (changed bool, err error)

func (*Git) Ref

func (gc *Git) Ref() url.URL

Jump to

Keyboard shortcuts

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