aboutsummaryrefslogtreecommitdiff
path: root/object/extraheader.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 21:20:35 +0800
committerGravatar Runxi Yu2026-02-20 21:51:00 +0800
commitb5a545a3d883026d61beac5556fec2a45e9ec3d3 (patch)
tree6281f89df21cb4b63a16bbcb057c5f186c40b148 /object/extraheader.go
parenttestgit: Add test harnesses (diff)
signatureNo signature
object: Add basic object code
Diffstat (limited to 'object/extraheader.go')
-rw-r--r--object/extraheader.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/object/extraheader.go b/object/extraheader.go
new file mode 100644
index 00000000..4ad1ec09
--- /dev/null
+++ b/object/extraheader.go
@@ -0,0 +1,7 @@
+package object
+
+// ExtraHeader represents an extra header in a Git object.
+type ExtraHeader struct {
+ Key string
+ Value []byte
+}