repository: unexport PackBlobIterator

This commit is contained in:
Michael Eischer 2024-05-10 16:29:48 +02:00
parent 94e863885c
commit aa4647f773
2 changed files with 18 additions and 18 deletions

View file

@ -88,10 +88,10 @@ func checkPackInner(ctx context.Context, r restic.Repository, id restic.ID, blob
hrd := hashing.NewReader(rd, sha256.New())
bufRd.Reset(hrd)
it := NewPackBlobIterator(id, newBufReader(bufRd), 0, blobs, r.Key(), dec)
it := newPackBlobIterator(id, newBufReader(bufRd), 0, blobs, r.Key(), dec)
for {
val, err := it.Next()
if err == ErrPackEOF {
if err == errPackEOF {
break
} else if err != nil {
return &partialReadError{err}