MCPcopy Index your code
hub / github.com/containerd/containerd / createStore

Function createStore

plugins/snapshots/devmapper/metadata_test.go:231–237  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

229}
230
231func createStore(t *testing.T) (store *PoolMetadata) {
232 path := filepath.Join(t.TempDir(), "test.db")
233 metadata, err := NewPoolMetadata(path)
234 assert.NoError(t, err)
235
236 return metadata
237}
238
239func cleanupStore(t *testing.T, store *PoolMetadata) {
240 err := store.Close()

Calls 1

NewPoolMetadataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…