mirror of
https://github.com/restic/restic.git
synced 2026-11-19 23:01:08 +00:00
move Backend interface to backend package
This commit is contained in:
1 parent
ceb0774af1
commit
1b8a67fe76
105 files changed
+822
-775
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/restic/restic/internal/backend"
|
||||
"github.com/restic/restic/internal/checker"
|
||||
"github.com/restic/restic/internal/crypto"
|
||||
"github.com/restic/restic/internal/index"
|
||||
@@ -369,7 +370,7 @@ func testIndexSave(t *testing.T, version uint) {
|
||||
|
||||
for id := range obsoletes {
|
||||
t.Logf("remove index %v", id.Str())
|
||||
h := restic.Handle{Type: restic.IndexFile, Name: id.String()}
|
||||
h := backend.Handle{Type: restic.IndexFile, Name: id.String()}
|
||||
err = repo.Backend().Remove(context.TODO(), h)
|
||||
if err != nil {
|
||||
t.Errorf("error removing index %v: %v", id, err)
|
||||
|
||||
Reference in new issue
Block a user