mirror of
https://github.com/restic/restic.git
synced 2025-08-20 11:47:30 +00:00
move Backend interface to backend package
This commit is contained in:
@@ -6,8 +6,8 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/backend"
|
||||
"github.com/restic/restic/internal/backend/sftp"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
@@ -56,7 +56,7 @@ func TestLayout(t *testing.T) {
|
||||
}
|
||||
|
||||
packs := make(map[string]bool)
|
||||
err = be.List(context.TODO(), restic.PackFile, func(fi restic.FileInfo) error {
|
||||
err = be.List(context.TODO(), backend.PackFile, func(fi backend.FileInfo) error {
|
||||
packs[fi.Name] = false
|
||||
return nil
|
||||
})
|
||||
|
Reference in New Issue
Block a user