mirror of
https://github.com/restic/restic.git
synced 2025-12-14 02:57:04 +00:00
Add type 'Index' to backend
This commit is contained in:
@@ -13,7 +13,10 @@ import (
|
||||
)
|
||||
|
||||
func testBackend(b backend.Backend, t *testing.T) {
|
||||
for _, tpe := range []backend.Type{backend.Data, backend.Key, backend.Lock, backend.Snapshot, backend.Tree} {
|
||||
for _, tpe := range []backend.Type{
|
||||
backend.Data, backend.Key, backend.Lock,
|
||||
backend.Snapshot, backend.Tree, backend.Index,
|
||||
} {
|
||||
// detect non-existing files
|
||||
for _, test := range TestStrings {
|
||||
id, err := backend.ParseID(test.id)
|
||||
|
||||
Reference in New Issue
Block a user