mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:41:54 +00:00
repository: add Checker() method to repository to replace unchecked cast
This commit is contained in:
@@ -29,7 +29,7 @@ import (
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
||||
func prepareTempdirRepoSrc(t testing.TB, src TestDir) (string, restic.Repository) {
|
||||
func prepareTempdirRepoSrc(t testing.TB, src TestDir) (string, *repository.Repository) {
|
||||
tempdir := rtest.TempDir(t)
|
||||
repo := repository.TestRepository(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user