diff options
| author | 2026-01-29 20:33:59 +0100 | |
|---|---|---|
| committer | 2026-01-29 20:33:59 +0100 | |
| commit | daca6d0eb76a7fc8134de35ddb7a4a1d0e184e0c (patch) | |
| tree | 681238fcf1f003e193851528992167c3bb97c92d /packed_read_pack.go | |
| parent | packed: Fix message for thin packs not implemented (diff) | |
| signature | No signature | |
zlibx: Make DecompressSized return the number of bytes consumed
Diffstat (limited to 'packed_read_pack.go')
| -rw-r--r-- | packed_read_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packed_read_pack.go b/packed_read_pack.go index 593fe97f..31279c8f 100644 --- a/packed_read_pack.go +++ b/packed_read_pack.go @@ -97,7 +97,7 @@ func packSectionInflate(pf *packFile, start uint64, sizeHint int) (bufpool.Buffe if start > uint64(len(pf.data)) { return bufpool.Buffer{}, ErrInvalidObject } - body, err := zlibx.DecompressSized(pf.data[start:], sizeHint) + body, _, err := zlibx.DecompressSized(pf.data[start:], sizeHint) if err != nil { return bufpool.Buffer{}, err } |
