MCPcopy
hub / github.com/kopia/kopia / verifyNotCached

Function verifyNotCached

internal/cache/persistent_lru_cache_test.go:338–342  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, pc *cache.PersistentCache, key string)

Source from the content-addressed store, hash-verified

336}
337
338func verifyNotCached(ctx context.Context, t *testing.T, pc *cache.PersistentCache, key string) {
339 t.Helper()
340
341 verifyCached(ctx, t, pc, key, nil)
342}
343
344func verifyBlobExists(ctx context.Context, t *testing.T, st cache.Storage, blobID blob.ID) {
345 t.Helper()

Calls 2

verifyCachedFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected