Revert "repository: removed redundant prepareCache method from Repository"

This reverts commit 720609f8ba.
This commit is contained in:
Srigovind Nayak
2024-08-30 12:43:13 +02:00
committed by Michael Eischer
parent 0ca9355bc0
commit 8a7ae17d4d
4 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ type Repository interface {
Key() *crypto.Key
LoadIndex(ctx context.Context, p *progress.Counter) error
SetIndex(mi MasterIndex)
SetIndex(mi MasterIndex) error
LookupBlob(t BlobType, id ID) []PackedBlob
LookupBlobSize(t BlobType, id ID) (size uint, exists bool)