MCPcopy Index your code
hub / github.com/kopia/kopia / TestingGetFull

Method TestingGetFull

internal/cache/export_test.go:10–12  ·  view source on GitHub ↗

TestingGetFull fetches the contents of a full blob. Returns false if not found.

(ctx context.Context, key string, output *gather.WriteBuffer)

Source from the content-addressed store, hash-verified

8
9// TestingGetFull fetches the contents of a full blob. Returns false if not found.
10func (c *PersistentCache) TestingGetFull(ctx context.Context, key string, output *gather.WriteBuffer) bool {
11 return c.getFull(ctx, key, output)
12}

Callers 1

verifyCachedFunction · 0.80

Calls 1

getFullMethod · 0.95

Tested by

no test coverage detected