aboutsummaryrefslogtreecommitdiff
path: root/objectstored/blob.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 14:34:28 +0800
committerGravatar Runxi Yu2026-03-06 14:35:33 +0800
commit965c596f16fba5943c0ee0baa7522de31cdf1a12 (patch)
treedf7ea5cfdd21303dea2a00a80824f068ff6b73ed /objectstored/blob.go
parentformat/pktline: Add pktline (diff)
signatureNo signature
object: Consider using a streaming API for blobs
Diffstat (limited to 'objectstored/blob.go')
-rw-r--r--objectstored/blob.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/objectstored/blob.go b/objectstored/blob.go
index f87af561..26584ce5 100644
--- a/objectstored/blob.go
+++ b/objectstored/blob.go
@@ -6,6 +6,9 @@ import (
)
// StoredBlob is a parsed blob paired with its storage ID.
+//
+// This Blob object is fully materialized in memory.
+// Consider using objectstore/Store.ReadReaderContent.
type StoredBlob struct {
id objectid.ObjectID
blob *object.Blob