repository: omit unused headerSize from ListPack()

This commit is contained in:
Michael Eischer
2026-05-31 22:53:00 +02:00
parent cc546b71e3
commit 7d25ca9d67
9 changed files with 15 additions and 17 deletions
+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)
}