git

package
v8.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// We have to use a negative transfer.hideRefs since this is the only way
	// to undo an already set parameter: https://www.spinics.net/lists/git/msg256772.html
	GitConfigShowAllRefs = "transfer.hideRefs=!refs"
)

Variables

View Source
var (
	SendArchive = &archive{"git-archive:"}
)
View Source
var SendBlob = &blob{"git-blob:"}
View Source
var SendDiff = &diff{"git-diff:"}
View Source
var SendPatch = &patch{"git-format-patch:"}
View Source
var (
	SendSnapshot = &snapshot{"git-snapshot:"}
)

Functions

func GetInfoRefsHandler added in v1.3.0

func GetInfoRefsHandler(a *api.API) http.Handler

func ReceivePack added in v1.3.0

func ReceivePack(a *api.API) http.Handler

func UploadPack added in v1.3.0

func UploadPack(a *api.API) http.Handler

Types

type HttpResponseWriter

type HttpResponseWriter struct {
	helper.CountingResponseWriter
}

func NewHttpResponseWriter

func NewHttpResponseWriter(rw http.ResponseWriter) *HttpResponseWriter

func (*HttpResponseWriter) Log

func (w *HttpResponseWriter) Log(r *http.Request, writtenIn int64)

Jump to

Keyboard shortcuts

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