diff options
| author | 2026-06-08 07:35:30 +0000 | |
|---|---|---|
| committer | 2026-06-08 07:35:30 +0000 | |
| commit | 037fbb24cd91e4804a8c66849f66592dbcbc007b (patch) | |
| tree | 0fa9af4a761384f2e0e578609ccff493cdcf0912 /object/fetch/blob.go | |
| parent | object/fetch: Fix tag's error import (diff) | |
object/fetch: Fix size types
Diffstat (limited to 'object/fetch/blob.go')
| -rw-r--r-- | object/fetch/blob.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object/fetch/blob.go b/object/fetch/blob.go index 199bede3..581fff90 100644 --- a/object/fetch/blob.go +++ b/object/fetch/blob.go @@ -32,7 +32,7 @@ func (fetcher *Fetcher) ExactBlob(id oid.ObjectID) (*stored.Stored[*blob.Blob], // together with its content size in bytes. // // Labels: Life-Parent, Close-Caller. -func (fetcher *Fetcher) ExactBlobReader(id oid.ObjectID) (io.ReadCloser, int64, error) { +func (fetcher *Fetcher) ExactBlobReader(id oid.ObjectID) (io.ReadCloser, uint64, error) { return fetcher.exactReader(id, typ.TypeBlob) } @@ -87,7 +87,7 @@ func (fetcher *Fetcher) PeelToBlobID(id oid.ObjectID) (oid.ObjectID, error) { // together with its content size in bytes. // // Labels: Life-Parent, Close-Caller. -func (fetcher *Fetcher) PeelToBlobReader(id oid.ObjectID) (io.ReadCloser, int64, error) { +func (fetcher *Fetcher) PeelToBlobReader(id oid.ObjectID) (io.ReadCloser, uint64, error) { blobID, err := fetcher.PeelToBlobID(id) if err != nil { return nil, 0, err |
