mirror of
https://github.com/restic/restic.git
synced 2026-11-22 05:14:23 +00:00
repository: change LoadBlob, LookupBlob and LookupBlobSize to BlobHandles (#21857)
This commit is contained in:
1 parent
71f38d266c
commit
7d36449ea8
27 files changed
+85
-85
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user