aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service/request.go
blob: 7f9bcc2f20f83312bb5eff3035cfe190d6550f7c (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}