shithub: furgit

ref: b90593c9b83f71de343e27cd1b489dff79bd4ac7
dir: /receivepack/service/request.go/

View raw version
package service

import "io"

// Request is one protocol-independent receive-pack execution request.
//
// If PackExpected is true, Pack must be non-nil and remain valid until
// Execute finishes consuming it.
type Request struct {
	Commands     []Command
	PushOptions  []string
	Atomic       bool
	DeleteOnly   bool
	PackExpected bool
	Pack         io.Reader
}