(t testing.TB, repo drivers.RepoStore, files ...string)
| 2540 | } |
| 2541 | |
| 2542 | func deleteRepo(t testing.TB, repo drivers.RepoStore, files ...string) { |
| 2543 | for _, path := range files { |
| 2544 | err := repo.Delete(context.Background(), path, false) |
| 2545 | require.NoError(t, err) |
| 2546 | } |
| 2547 | } |
| 2548 | |
| 2549 | func asPtr[T any](val T) *T { |
| 2550 | return &val |
no test coverage detected