repository: omit unused headerSize from ListPack()

This commit is contained in:
Michael Eischer committed 2026-05-31 22:53:00 +02:00
1 parent cc546b71e3
commit 7d25ca9d67
9 files changed
+15 -17

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ func ExaminePack(ctx context.Context, repo restic.Repository, id restic.ID, opts
printer.S(" ========================================")
printer.S(" inspect the pack itself")
blobs, _, err := repo.ListPack(ctx, id, int64(len(buf)))
blobs, err := repo.ListPack(ctx, id, int64(len(buf)))
if err != nil {
return fmt.Errorf("pack %v: %v", id.Str(), err)
}