aboutsummaryrefslogtreecommitdiff
path: root/receivepack/service/update.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/update.go
parent*: Add some package-level doc comments (diff)
signatureNo signature
*: Package sorting and updates
Diffstat (limited to 'receivepack/service/update.go')
-rw-r--r--receivepack/service/update.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/receivepack/service/update.go b/receivepack/service/update.go
new file mode 100644
index 00000000..c73b73a5
--- /dev/null
+++ b/receivepack/service/update.go
@@ -0,0 +1,12 @@
+package service
+
+import "codeberg.org/lindenii/furgit/objectid"
+
+// PlannedUpdate is one ref update that would be applied once ref writing
+// exists.
+type PlannedUpdate struct {
+ Name string
+ OldID objectid.ObjectID
+ NewID objectid.ObjectID
+ Delete bool
+}