repository: replace HasBlob with LookupBlobSize

This commit is contained in:
Michael Eischer
2024-05-19 12:58:41 +02:00
parent 8f1e70cd9b
commit 0aa5c53842
5 changed files with 5 additions and 11 deletions

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)
}