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
@@ -143,7 +143,7 @@ func (t *treeIterator) assertToken(token json.Token) error {
}
func LoadTree(ctx context.Context, loader restic.BlobLoader, content restic.ID) (TreeNodeIterator, error) {
rd, err := loader.LoadBlob(ctx, restic.TreeBlob, content, nil)
rd, err := loader.LoadBlob(ctx, restic.BlobHandle{Type: restic.TreeBlob, ID: content}, nil)
if err != nil {
return nil, err
}