mirror of
https://github.com/restic/restic.git
synced 2025-12-12 05:42:28 +00:00
repository: add Checker() method to repository to replace unchecked cast
This commit is contained in:
@@ -347,7 +347,7 @@ var (
|
||||
depth = 3
|
||||
)
|
||||
|
||||
func createFilledRepo(t testing.TB, snapshots int, version uint) (restic.Repository, restic.Unpacked[restic.FileType]) {
|
||||
func createFilledRepo(t testing.TB, snapshots int, version uint) (*repository.Repository, restic.Unpacked[restic.FileType]) {
|
||||
repo, unpacked, _ := repository.TestRepositoryWithVersion(t, version)
|
||||
|
||||
for i := 0; i < snapshots; i++ {
|
||||
|
||||
Reference in New Issue
Block a user