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