move Backend interface to backend package
This commit is contained in:
parent
ceb0774af1
commit
1b8a67fe76
105 changed files with 822 additions and 775 deletions
|
@ -8,7 +8,7 @@ import (
|
|||
"syscall"
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/restic"
|
||||
"github.com/restic/restic/internal/backend"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
|
||||
"github.com/cenkalti/backoff/v4"
|
||||
|
@ -32,7 +32,7 @@ func TestNoSpacePermanent(t *testing.T) {
|
|||
rtest.OK(t, be.Close())
|
||||
}()
|
||||
|
||||
h := restic.Handle{Type: restic.ConfigFile}
|
||||
h := backend.Handle{Type: backend.ConfigFile}
|
||||
err = be.Save(context.Background(), h, nil)
|
||||
_, ok := err.(*backoff.PermanentError)
|
||||
rtest.Assert(t, ok,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue