aboutsummaryrefslogtreecommitdiff
path: root/receivepack/service/request.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-07 22:38:17 +0800
committerGravatar Runxi Yu2026-03-07 22:38:17 +0800
commit0fb1520c3119ed6aedc5cb25098c0fd0b4cacf90 (patch)
treee02e31a56a4893f9a0397158811e50cae91dc012 /receivepack/service/request.go
parent*: Add some package-level doc comments (diff)
signatureNo signature
*: Package sorting and updates
Diffstat (limited to 'receivepack/service/request.go')
-rw-r--r--receivepack/service/request.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/receivepack/service/request.go b/receivepack/service/request.go
new file mode 100644
index 00000000..7a0b1f33
--- /dev/null
+++ b/receivepack/service/request.go
@@ -0,0 +1,13 @@
+package service
+
+import "io"
+
+// Request is one protocol-independent receive-pack execution request.
+type Request struct {
+ Commands []Command
+ PushOptions []string
+ Atomic bool
+ DeleteOnly bool
+ PackExpected bool
+ Pack io.Reader
+}