mirror of
https://github.com/restic/restic.git
synced 2025-10-10 07:21:53 +00:00
repository: Remove pack implementation details from MasterIndex
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user