mirror of
https://github.com/restic/restic.git
synced 2026-11-19 23:01:08 +00:00
repository: replace HasBlob with LookupBlobSize
This commit is contained in:
1 parent
8f1e70cd9b
commit
0aa5c53842
5 files changed
+5
-11
No files matched your search
@@ -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