aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service/update.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-26 09:14:59 +0000
committerGravatar Runxi Yu2026-03-26 09:14:59 +0000
commit3d25bda9d5da6814661828adabe8a09f9d01aefb (patch)
treed034e28079333f85e5d7b96d921282eddd4798d6 /network/receivepack/service/update.go
parentobject/id: Empty tree (diff)
signatureNo signature
network/receivepack: Rename from receivepack
Diffstat (limited to 'network/receivepack/service/update.go')
-rw-r--r--network/receivepack/service/update.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/receivepack/service/update.go b/network/receivepack/service/update.go
new file mode 100644
index 00000000..043f3d51
--- /dev/null
+++ b/network/receivepack/service/update.go
@@ -0,0 +1,12 @@
+package service
+
+import objectid "codeberg.org/lindenii/furgit/object/id"
+
+// 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
+}