move Backend interface to backend package
This commit is contained in:
parent
ceb0774af1
commit
1b8a67fe76
105 changed files with 822 additions and 775 deletions
|
@ -3,15 +3,15 @@ package location_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/backend"
|
||||
"github.com/restic/restic/internal/backend/location"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
"github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
func TestStripPassword(t *testing.T) {
|
||||
registry := location.NewRegistry()
|
||||
registry.Register(
|
||||
location.NewHTTPBackendFactory[any, restic.Backend]("test", nil,
|
||||
location.NewHTTPBackendFactory[any, backend.Backend]("test", nil,
|
||||
func(s string) string {
|
||||
return "cleaned"
|
||||
}, nil, nil,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue