diff options
| author | 2026-06-06 20:31:50 +0000 | |
|---|---|---|
| committer | 2026-06-06 20:32:52 +0000 | |
| commit | 1487a1058947ddbebd7537dafba3cb71f6c9c707 (patch) | |
| tree | 0a22507b891a462be27389f6078ae464c3199c3c /object/store/reader.go | |
| parent | ref/name (diff) | |
| signature | No signature | |
object/store: Go does not accept \0
Diffstat (limited to 'object/store/reader.go')
| -rw-r--r-- | object/store/reader.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object/store/reader.go b/object/store/reader.go index b1867791..30a78f7f 100644 --- a/object/store/reader.go +++ b/object/store/reader.go @@ -15,7 +15,7 @@ import ( // // Labels: MT-Safe. type ObjectReader interface { - // ReadBytesFull reads a full serialized object as "type size\0content". + // ReadBytesFull reads a full serialized object as "type size\x00content". // // In a valid repository, // hashing this payload with the same object format @@ -32,7 +32,7 @@ type ObjectReader interface { ReadBytesContent(id id.ObjectID) (typ.Type, []byte, error) // ReadReaderFull reads a full serialized object stream - // as "type size\0content". + // as "type size\x00content". // // Labels: Life-Parent, Close-Caller. ReadReaderFull(id id.ObjectID) (io.ReadCloser, error) |
