mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
repository: replace HasBlob with LookupBlobSize
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user