aboutsummaryrefslogtreecommitdiff
path: root/repository
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 /repository
parentshow-object: Fix defer (diff)
signatureNo signature
*: Fix the broken comments for overescaping that python script
Diffstat (limited to 'repository')
-rw-r--r--repository/read_stored_passthrough.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/read_stored_passthrough.go b/repository/read_stored_passthrough.go
index 4576eb9f..29cb8565 100644
--- a/repository/read_stored_passthrough.go
+++ b/repository/read_stored_passthrough.go
@@ -17,7 +17,7 @@ func (repo *Repository) ReadStoredSize(id objectid.ObjectID) (int64, error) {
return repo.objects.ReadSize(id)
}
-// ReadStoredBytesFull reads a full serialized object as "type size\\x00content".
+// ReadStoredBytesFull reads a full serialized object as "type size\0content".
func (repo *Repository) ReadStoredBytesFull(id objectid.ObjectID) ([]byte, error) {
return repo.objects.ReadBytesFull(id)
}