MCPcopy
hub / github.com/syncthing/syncthing / testCompletion

Method testCompletion

lib/model/testutils_test.go:192–196  ·  view source on GitHub ↗
(device protocol.DeviceID, folder string)

Source from the content-addressed store, hash-verified

190}
191
192func (m *testModel) testCompletion(device protocol.DeviceID, folder string) FolderCompletion {
193 comp, err := m.Completion(device, folder)
194 must(m.t, err)
195 return comp
196}
197
198func cleanupModel(m *testModel) {
199 if m.cancel != nil {

Callers 3

TestIssue6961Function · 0.80

Calls 2

mustFunction · 0.85
CompletionMethod · 0.65

Tested by

no test coverage detected