(t *testing.T, rt *runtime.Runtime, id string, paths []string)
| 1495 | } |
| 1496 | |
| 1497 | func localFileHash(t *testing.T, rt *runtime.Runtime, id string, paths []string) string { |
| 1498 | repo, release, err := rt.Repo(context.Background(), id) |
| 1499 | require.NoError(t, err) |
| 1500 | defer func() { |
| 1501 | release() |
| 1502 | }() |
| 1503 | localFileHash, err := repo.Hash(context.Background(), paths) |
| 1504 | require.NoError(t, err) |
| 1505 | return localFileHash |
| 1506 | } |
no test coverage detected