aboutsummaryrefslogtreecommitdiff
path: root/object/id/object_id.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/id/object_id.go')
-rw-r--r--object/id/object_id.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/object/id/object_id.go b/object/id/object_id.go
new file mode 100644
index 00000000..4cf562fa
--- /dev/null
+++ b/object/id/object_id.go
@@ -0,0 +1,9 @@
+package id
+
+// ObjectID represents a Git object ID.
+//
+//nolint:recvcheck
+type ObjectID struct {
+ algo Algorithm
+ data [maxObjectIDSize]byte
+}