func (e *Environment) VerifyBlobCount(tb testing.TB, want int) {
	tb.Helper()

	var got int

	_ = e.RepositoryWriter.BlobReader().ListBlobs(testlogging.Context(tb), "", func(_ blob.Metadata) error {
		got++
		return nil
	})

	if got != want {
		tb.Errorf("got unexpected number of BLOBs: %v, wanted %v", got, want)
	}
}
// VerifyBlobCount verifies that the underlying storage contains the specified number of blobs.
VerifyBlobCount verifies that the underlying storage contains the specified number of blobs.
// VerifyBlobCount verifies that the underlying storage contains the specified number of blobs .
func (e *Environment) VerifyBlobCount(tb testing.TB, want int) {
	tb.Helper()
	var got int
	_ = e.RepositoryWriter.BlobReader().ListBlobs(testlogging.Context(tb), "", func(_ blob.Metadata) error {
		got++
		return nil
	})
	if got != want {
		tb.Errorf("got unexpected number of BLOBs: %v, wanted %v", got, want)
	}
}
func ( e * Environment ) VerifyBlobCount ( tb testing . TB , want int ) { tb . Helper ( ) var got int _ = e . RepositoryWriter . BlobReader ( ) . ListBlobs ( testlogging . Context ( tb ) , " " , func ( _ blob . Metadata ) error { got ++ return nil } ) if got != want { tb . Errorf ( " " , got , want ) } }
VerifyBlobCount verifies that the underlying storage contains the specified number of blobs.
VerifyBlobCount verifies that the underlying storage contains the specified number of blobs .