The […] part of references created for store
(store storage.Store)
| 101 | |
| 102 | // The […] part of references created for store |
| 103 | func storeSpecForStringWithinTransport(store storage.Store) string { |
| 104 | optionsList := "" |
| 105 | options := store.GraphOptions() |
| 106 | if len(options) > 0 { |
| 107 | optionsList = ":" + strings.Join(options, ",") |
| 108 | } |
| 109 | return fmt.Sprintf("[%s@%s+%s%s]", store.GraphDriverName(), store.GraphRoot(), store.RunRoot(), optionsList) |
| 110 | } |
| 111 | |
| 112 | func TestStorageReferenceStringWithinTransport(t *testing.T) { |
| 113 | store := newStore(t) |
no outgoing calls
no test coverage detected
searching dependent graphs…