repository: replace HasBlob with LookupBlobSize

This commit is contained in:
Michael Eischer committed 2024-05-24 21:33:17 +02:00
1 parent 8f1e70cd9b
commit 0aa5c53842
5 files changed
+5 -11

No files matched your search

-4
View File
@@ -578,10 +578,6 @@ func (r *Repository) Connections() uint {
return r.be.Connections()
}
func (r *Repository) HasBlob(bh restic.BlobHandle) bool {
return r.idx.Has(bh)
}
func (r *Repository) LookupBlob(bh restic.BlobHandle) []restic.PackedBlob {
return r.idx.Lookup(bh)
}