MCPcopy
hub / github.com/syncthing/syncthing / testCurrentFolderFile

Method testCurrentFolderFile

lib/model/testutils_test.go:186–190  ·  view source on GitHub ↗
(folder string, file string)

Source from the content-addressed store, hash-verified

184}
185
186func (m *testModel) testCurrentFolderFile(folder string, file string) (protocol.FileInfo, bool) {
187 f, ok, err := m.model.CurrentFolderFile(folder, file)
188 must(m.t, err)
189 return f, ok
190}
191
192func (m *testModel) testCompletion(device protocol.DeviceID, folder string) FolderCompletion {
193 comp, err := m.Completion(device, folder)

Callers 11

TestRecvOnlyRevertOwnIDFunction · 0.80
TestPullCaseOnlyRenameFunction · 0.80
TestIssue4573Function · 0.80
TestInternalScanFunction · 0.80
TestRemoveDirWithContentFunction · 0.80
TestIssue4475Function · 0.80
TestIssue5002Function · 0.80
TestParentOfUnignoredFunction · 0.80
TestModTimeWindowFunction · 0.80

Calls 2

mustFunction · 0.85
CurrentFolderFileMethod · 0.65

Tested by

no test coverage detected