(t *testing.T, rep repo.RepositoryWriter, man *snapshot.Manifest)
| 576 | } |
| 577 | |
| 578 | func mustSaveSnapshot(t *testing.T, rep repo.RepositoryWriter, man *snapshot.Manifest) manifest.ID { |
| 579 | t.Helper() |
| 580 | |
| 581 | id, err := snapshot.SaveSnapshot(testlogging.Context(t), rep, man) |
| 582 | require.NoError(t, err, "saving snapshot") |
| 583 | |
| 584 | return id |
| 585 | } |
| 586 | |
| 587 | func getSnapshotSource() snapshot.SourceInfo { |
| 588 | src := snapshot.SourceInfo{ |
no test coverage detected