Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ newTestModel
Function
newTestModel
lib/protocol/common_test.go:27–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
newTestModel() *TestModel {
28
return
&TestModel{
29
closedCh: make(
chan
struct
{}),
30
}
31
}
32
33
func
(t *TestModel) Index(_ Connection, idx *Index) error {
34
if
t.indexFn != nil {
Callers
11
TestPing
Function · 0.85
TestClose
Function · 0.85
TestCloseOnBlockingSend
Function · 0.85
TestCloseRace
Function · 0.85
TestClusterConfigFirst
Function · 0.85
TestCloseTimeout
Function · 0.85
TestClusterConfigAfterClose
Function · 0.85
TestDispatcherToCloseDeadlock
Function · 0.85
TestRequestMaxSize
Function · 0.85
TestRequestZeroSize
Function · 0.85
TestRequestInvalidFilename
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected