Merge final indexes together for faster index access

This commit is contained in:
Alexander Weiss authored and Michael Eischer committed 2020-07-22 21:54:02 +02:00
1 parent 3b7a3711e6
commit e388d962a5
5 files changed
+90 -20

No files matched your search

+2
View File
@@ -190,6 +190,8 @@ func (c *Checker) LoadIndex(ctx context.Context) (hints []error, errs []error) {
}
}
c.masterIndex.MergeFinalIndexes()
err = c.repo.SetIndex(c.masterIndex)
if err != nil {
debug.Log("SetIndex returned error: %v", err)