aboutsummaryrefslogtreecommitdiff
path: root/object/blob.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/blob.go')
-rw-r--r--object/blob.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/object/blob.go b/object/blob.go
new file mode 100644
index 00000000..03d17df6
--- /dev/null
+++ b/object/blob.go
@@ -0,0 +1,12 @@
+package object
+
+// Blob represents a Git blob object.
+type Blob struct {
+ Data []byte
+}
+
+// ObjectType returns TypeBlob.
+func (blob *Blob) ObjectType() Type {
+ _ = blob
+ return TypeBlob
+}