git

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeRefs added in v0.1.1

func DecodeRefs(reader io.Reader) ([]storage.Reference, error)

func GenerateReferencePack

func GenerateReferencePack(refs []storage.Reference, http bool, service string, writer io.Writer)

Types

type HaveList added in v0.1.0

type HaveList map[plumbing.Hash]bool

func ParseHaveList added in v0.1.0

func ParseHaveList(hl HaveList, reader io.Reader) (HaveList, error)

type Report added in v0.1.1

func (Report) Write added in v0.1.1

func (r Report) Write(w io.Writer)

type ReportItem added in v0.1.1

type ReportItem struct {
	Ok     bool
	Reason string
}

type WantList added in v0.1.0

type WantList map[plumbing.Hash]bool

func ParseWantList added in v0.1.0

func ParseWantList(wl WantList, reader io.Reader) (WantList, error)

Jump to

Keyboard shortcuts

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