MCPcopy Create free account
hub / github.com/docker/cli / sref

Function sref

cli/manifest/store/store_test.go:31–36  ·  view source on GitHub ↗
(t *testing.T, name string)

Source from the content-addressed store, hash-verified

29}
30
31func sref(t *testing.T, name string) *types.SerializableNamed {
32 t.Helper()
33 named, err := reference.ParseNamed("example.com/" + name)
34 assert.NilError(t, err)
35 return &types.SerializableNamed{Named: named}
36}
37
38func TestStoreRemove(t *testing.T) {
39 tmpDir := t.TempDir()

Callers 3

TestStoreRemoveFunction · 0.85
TestStoreSaveAndGetFunction · 0.85
TestStoreGetListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…