mirror of
https://github.com/restic/restic.git
synced 2025-10-09 12:41:58 +00:00
move Backend interface to backend package
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/restic/restic/internal/restic"
|
||||
"github.com/restic/restic/internal/backend"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
@@ -49,7 +49,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