git

package
v0.0.0-...-fd007c6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT 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(targetUrl 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