MCPcopy
hub / github.com/containerd/containerd / createContentStoreWithPolicy

Function createContentStoreWithPolicy

core/metadata/content_test.go:78–82  ·  view source on GitHub ↗
(opts ...DBOpt)

Source from the content-addressed store, hash-verified

76}
77
78func createContentStoreWithPolicy(opts ...DBOpt) testsuite.StoreInitFn {
79 return func(ctx context.Context, root string) (context.Context, content.Store, func() error, error) {
80 return createContentStore(ctx, root, opts...)
81 }
82}
83
84func TestContent(t *testing.T) {
85 testsuite.ContentSuite(t, "metadata", createContentStoreWithPolicy())

Callers 1

TestContentFunction · 0.85

Calls 1

createContentStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…