repository: Remove pack implementation details from MasterIndex

This commit is contained in:
Michael Eischer
2022-02-13 14:25:38 +01:00
parent dc3d77dacc
commit f78bd14e28
6 changed files with 31 additions and 26 deletions

View File

@@ -123,7 +123,7 @@ func (c *Checker) LoadIndex(ctx context.Context) (hints []error, errs []error) {
}
// compute pack size using index entries
c.packs = c.masterIndex.PackSize(ctx, false)
c.packs = pack.Size(ctx, c.masterIndex, false)
debug.Log("checking for duplicate packs")
for packID := range c.packs {