aboutsummaryrefslogtreecommitdiff
path: root/objectstore/loose
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-22 14:01:18 +0800
committerGravatar Runxi Yu2026-02-22 14:01:18 +0800
commitfabf75c8123756db8b2a6013375396e0b8847bac (patch)
tree8bd2f8626d195be5b45529199cc255002a57741a /objectstore/loose
parentshow-object: Fix defer (diff)
signatureNo signature
*: Fix the broken comments for overescaping that python script
Diffstat (limited to 'objectstore/loose')
-rw-r--r--objectstore/loose/read_reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectstore/loose/read_reader.go b/objectstore/loose/read_reader.go
index ca7c519c..6a377ba3 100644
--- a/objectstore/loose/read_reader.go
+++ b/objectstore/loose/read_reader.go
@@ -47,7 +47,7 @@ func (store *Store) openInflated(id objectid.ObjectID) (*os.File, io.ReadCloser,
return file, zr, nil
}
-// ReadReaderFull reads a full serialized object stream as "type size\\x00content".
+// ReadReaderFull reads a full serialized object stream as "type size\0content".
// The caller must close the returned reader.
func (store *Store) ReadReaderFull(id objectid.ObjectID) (io.ReadCloser, error) {
file, zr, err := store.openInflated(id)