mirror of
https://github.com/restic/restic.git
synced 2025-12-03 23:11:47 +00:00
archiver: cleanup Saver interface
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
|||||||
// Saver allows saving a blob.
|
// Saver allows saving a blob.
|
||||||
type Saver interface {
|
type Saver interface {
|
||||||
SaveBlob(ctx context.Context, t restic.BlobType, data []byte, id restic.ID, storeDuplicate bool) (restic.ID, bool, int, error)
|
SaveBlob(ctx context.Context, t restic.BlobType, data []byte, id restic.ID, storeDuplicate bool) (restic.ID, bool, int, error)
|
||||||
Index() restic.MasterIndex
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlobSaver concurrently saves incoming blobs to the repo.
|
// BlobSaver concurrently saves incoming blobs to the repo.
|
||||||
|
|||||||
Reference in New Issue
Block a user