aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/read_reader.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 15:44:15 +0000
committerGravatar Runxi Yu2026-03-28 15:44:15 +0000
commit3709c0f3541b3b067b35025b517b80631b161a95 (patch)
treeab0b1f47a8f5c785889c719e9535e214b6537216 /object/store/packed/read_reader.go
parentobject/store/memory: Update docs (diff)
signatureNo signature
object/store/packed: Update docs
Diffstat (limited to 'object/store/packed/read_reader.go')
-rw-r--r--object/store/packed/read_reader.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/object/store/packed/read_reader.go b/object/store/packed/read_reader.go
index 0608e390..03e70628 100644
--- a/object/store/packed/read_reader.go
+++ b/object/store/packed/read_reader.go
@@ -15,11 +15,6 @@ import (
// ReadReaderContent reads an object's type, declared content size, and content
// stream.
//
-// The caller must close the returned reader.
-//
-// For base pack entries, the returned reader borrows store-owned mapped pack
-// data and is only valid until the store is closed.
-//
// Close releases reader-local resources only. It does not drain unread data for
// additional validation. In particular, malformed trailing compressed data,
// trailing bytes past the declared object size, and the zlib Adler-32 trailer
@@ -57,11 +52,6 @@ func (store *Store) ReadReaderContent(id objectid.ObjectID) (objecttype.Type, in
// ReadReaderFull reads a full serialized object stream as "type size\0content".
//
-// The caller must close the returned reader.
-//
-// For base pack entries, the returned reader borrows store-owned mapped pack
-// data and is only valid until the store is closed.
-//
// Close releases reader-local resources only. It does not drain unread data for
// additional validation. In particular, malformed trailing compressed data,
// trailing bytes past the declared object size, and the zlib Adler-32 trailer