repository: make CreateIndexFromPacks method private

This commit is contained in:
Michael Eischer
2024-05-19 16:14:31 +02:00
parent 04ad9f0c0c
commit 76e6719f2e
2 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ func RepairIndex(ctx context.Context, repo *Repository, opts RepairIndexOptions,
printer.P("reading pack files\n")
bar := printer.NewCounter("packs")
bar.SetMax(uint64(len(packSizeFromList)))
invalidFiles, err := repo.CreateIndexFromPacks(ctx, packSizeFromList, bar)
invalidFiles, err := repo.createIndexFromPacks(ctx, packSizeFromList, bar)
bar.Done()
if err != nil {
return err