git

package
v0.0.0-...-817c61a Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hashes

type Hashes struct {
	RepoURL string
	Hashes  map[string]Ref
}

Hashes stores the result of a GitLS

func Ls

func Ls(log logger, url, pattern, exclude, gitKey string) (*Hashes, bool)

Ls list a remote repo

type Ref

type Ref struct {
	Name   string
	Type   string
	Hash   string
	Change time.Time
}

Ref contains details of a git reference

Jump to

Keyboard shortcuts

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