repository: change LoadBlob, LookupBlob and LookupBlobSize to BlobHandles (#21857)

This commit is contained in:
Michael Eischer authored and GitHub committed 2026-06-14 15:30:00 +02:00
1 parent 71f38d266c
commit 7d36449ea8
27 files changed
+85 -85

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ func filterTrees(ctx context.Context, repo restic.Loader, trees restic.IDs, load
continue
}
treeSize, found := repo.LookupBlobSize(restic.TreeBlob, nextTreeID.ID)
treeSize, found := repo.LookupBlobSize(restic.BlobHandle{Type: restic.TreeBlob, ID: nextTreeID.ID})
if found && treeSize > 50*1024*1024 {
loadCh = hugeTreeLoaderChan
} else {