git

package
v0.0.0-...-1b40114 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeadPath   = "HEAD"
	HeadRegexp = "ref: (.+)"

	OriginHeadPath = "ORIGIN_HEAD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	FetchHead() (head, raw string)
	FetchOriginHead() (hash string)
	FetchRef(path string) (hash string)
	FetchObject(hash string) (out []byte)
}

func NewFetcher

func NewFetcher(base string) Fetcher

type File

type File interface {
	Path() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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