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:"}
)
View Source
var ( // Testing is only set during workhorse testing. Testing = false )
Functions ¶
Types ¶
type HttpResponseWriter ¶
type HttpResponseWriter struct {
helper.CountingResponseWriter
}
func NewHttpResponseWriter ¶
func NewHttpResponseWriter(rw http.ResponseWriter) *HttpResponseWriter
Click to show internal directories.
Click to hide internal directories.