aboutsummaryrefslogtreecommitdiff
path: root/object/blob/blob.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:49:17 +0000
committerGravatar Runxi Yu2026-03-25 15:02:22 +0000
commit7847657e0820af98120031f719b8ede635ad8c07 (patch)
tree8c4439c78f72f1382edc809b49be33115847b6e7 /object/blob/blob.go
parentobject: Remove type.go (diff)
signatureNo signature
object: Split each object type into its own package v0.1.108
Diffstat (limited to 'object/blob/blob.go')
-rw-r--r--object/blob/blob.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/object/blob/blob.go b/object/blob/blob.go
new file mode 100644
index 00000000..977121fb
--- /dev/null
+++ b/object/blob/blob.go
@@ -0,0 +1,11 @@
+// Package blob provides representations, parsers, and serializers for blob objects.
+package blob
+
+// Blob represents a Git blob object.
+//
+// This Blob object is fully materialized in memory.
+// Consider using objectstorer/Store.ReadReaderContent,
+// or appropriate streaming write APIs.
+type Blob struct {
+ Data []byte
+}