mirror of
https://github.com/restic/restic.git
synced 2026-04-14 00:58:50 +00:00
Remove Repository.Test()
This commit is contained in:
@@ -58,7 +58,7 @@ func fsckFile(opts CmdFsck, repo *repository.Repository, IDs []backend.ID) (uint
|
||||
}
|
||||
} else {
|
||||
// test if data blob is there
|
||||
ok, err := repo.Test(backend.Data, packID.String())
|
||||
ok, err := repo.Backend().Test(backend.Data, packID.String())
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user