aboutsummaryrefslogtreecommitdiff
path: root/receivepack/service/command_result.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/command_result.go
parent*: Add some package-level doc comments (diff)
signatureNo signature
*: Package sorting and updates
Diffstat (limited to 'receivepack/service/command_result.go')
-rw-r--r--receivepack/service/command_result.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/receivepack/service/command_result.go b/receivepack/service/command_result.go
new file mode 100644
index 00000000..18e39acc
--- /dev/null
+++ b/receivepack/service/command_result.go
@@ -0,0 +1,13 @@
+package service
+
+import "codeberg.org/lindenii/furgit/objectid"
+
+// CommandResult is one per-command execution result.
+type CommandResult struct {
+ Name string
+ Error string
+ RefName string
+ OldID *objectid.ObjectID
+ NewID *objectid.ObjectID
+ ForcedUpdate bool
+}