(t testing.TB, repo drivers.RepoStore, files map[string]string)
| 2533 | } |
| 2534 | |
| 2535 | func putRepo(t testing.TB, repo drivers.RepoStore, files map[string]string) { |
| 2536 | for path, data := range files { |
| 2537 | err := repo.Put(context.Background(), path, strings.NewReader(data)) |
| 2538 | require.NoError(t, err) |
| 2539 | } |
| 2540 | } |
| 2541 | |
| 2542 | func deleteRepo(t testing.TB, repo drivers.RepoStore, files ...string) { |
| 2543 | for _, path := range files { |
no test coverage detected