shithub: furgit

ref: ab174c473618dd3743881cf44e02c2db4d1ecd5f
dir: /network/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
	PackExpected bool
	Pack         io.Reader
}