git_repo

package
v0.0.0-...-f69cff6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RemoteOrigin    = "origin"
	BranchRefPrefix = "refs/heads/"
	TagRefPrefix    = "refs/tags/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reference

type Reference struct {
	Name string
	Hash string
}

type Repository

type Repository struct {
	Branches []Reference
	Tags     []Reference
}

func Fetch

func Fetch(url, token string) (Repository, error)

Jump to

Keyboard shortcuts

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